| author | Jan Alexander Steffens
<heftig@archlinux.org> 2022-02-12 01:49:38 UTC |
| committer | Jan Alexander Steffens
<heftig@archlinux.org> 2022-02-12 01:49:38 UTC |
| parent | fd6ac376683e89a5c7b9630751fb10bc8e049604 |
| PKGBUILD | +8 | -8 |
diff --git a/PKGBUILD b/PKGBUILD index 1a9c446..a6b0448 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org> pkgname=libqmi -pkgver=1.30.2 +pkgver=1.30.4 pkgrel=1 pkgdesc="QMI modem protocol helper library" arch=(x86_64) @@ -10,22 +10,22 @@ license=(GPL2) depends=(libmbim libqrtr-glib libgudev) makedepends=(gtk-doc python git help2man gobject-introspection) provides=(libqmi-glib.so) -_commit=4831d54483ee7e517068dee189f489d3eed1cd81 # tags/1.30.2 +_commit=f6c2feaf199e0f129a0bde8c5e6cba5f2117b564 # tags/1.30.4 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' + cd libqmi + git describe --tags | sed 's/-rc/rc/;s/[^-]*-g/r&/;s/-/+/g' } prepare() { - cd $pkgname + cd libqmi NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname + cd libqmi ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libexecdir=/usr/lib --disable-static --enable-gtk-doc \ --enable-compile-warnings=yes @@ -33,11 +33,11 @@ build() { } check() { - cd $pkgname + cd libqmi make check } package() { - cd $pkgname + cd libqmi make DESTDIR="$pkgdir" install }