PKGBUILDs/extra/libqmi/PKGBUILD

47 lines
1 KiB
Bash
Raw Normal View History

2021-01-30 02:51:16 +00:00
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - configure with --enable-qrtr
pkgname=libqmi
2021-08-07 01:05:47 +00:00
pkgver=1.30.0
2021-02-15 18:02:22 +00:00
pkgrel=1
2021-01-30 02:51:16 +00:00
pkgdesc="QMI modem protocol helper library"
arch=(x86_64)
url="https://www.freedesktop.org/wiki/Software/libqmi/"
license=(GPL2)
2021-02-22 20:29:22 +00:00
depends=(libmbim libqrtr-glib libgudev)
2021-08-07 01:05:47 +00:00
makedepends=(gtk-doc python git help2man gobject-introspection)
2021-01-30 02:51:16 +00:00
provides=(libqmi-glib.so)
2021-08-07 01:05:47 +00:00
_commit=42182b38e1e6b3a5167b78cc2f503080de74612d # tags/1.30.0
2021-01-30 02:51:16 +00:00
source=("git+https://gitlab.freedesktop.org/mobile-broadband/libqmi.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-rc/rc/;s/-/+/g'
}
prepare() {
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib --disable-static --enable-gtk-doc \
--enable-compile-warnings=yes --enable-qrtr
make
}
check() {
cd $pkgname
make check
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}