# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=libqmi pkgver=1.17.901 pkgrel=0 pkgdesc="QMI modem protocol helper library" url="http://www.freedesktop.org/wiki/Software/libqmi" arch="all" license="GPL2" makedepends="gtk-doc python2 glib-dev libgudev-dev linux-headers" subpackages="$pkgname-dev $pkgname-doc" source="https://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz musl-compat-canonicalize_file_name.patch " builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-more-warnings=yes \ || return 1 make || return 1 make check || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="31db491460a43f9f1cbbfe28c2133edbcf51b9762a5c1f81f9c0c8db7878e563269646de15e56eeedcda632016d5250f67cf4395ec8a5085d720fa5ac0ae78c7 libqmi-1.17.901.tar.xz 57e6e6f142119a9ad5074475f9f18845271d6582ec485422ebe29f00f8a6da49f6770d9b8ff9fb97d1b6367a93766e3ebe4d05b415ad65713a093434fd962d19 musl-compat-canonicalize_file_name.patch"