# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=libqmi pkgver=1.24.10 pkgrel=1 pkgdesc="QMI modem protocol helper library" url="https://www.freedesktop.org/wiki/Software/libqmi" arch="all" license="GPL-2.0-or-later AND LGPL-2.1-or-later" makedepends="glib-dev gtk-doc libgudev-dev libmbim-dev linux-headers python3" subpackages=" $pkgname-dev $pkgname-doc $pkgname-bash-completion:bashcomp:noarch " source="https://www.freedesktop.org/software/libqmi/libqmi-$pkgver.tar.xz" # Tests fail [ "$CARCH" = s390x ] && options="$options !check" build() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-mbim-qmux \ --enable-more-warnings=yes make } check() { make check } package() { make DESTDIR="$pkgdir" install } bashcomp() { depends="" pkgdesk="Bash completions for $pkgname" install_if="$pkgname=$pkgver-r$pkgrel bash-completion" amove usr/share/bash-completion/completions } sha512sums="1602ec5e6da91f6366d9b1755324042cac2aab77d568079b85c8180e8c74967a272a20611b0016639c4c047b9c1d75e4887cf438d40c6b93f1d04be391fd7432 libqmi-1.24.10.tar.xz"