[arch-commits] Commit in libqrtr-glib/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Thu Nov 18 22:49:57 UTC 2021


    Date: Thursday, November 18, 2021 @ 22:49:57
  Author: heftig
Revision: 428630

1.2.0-1

Modified:
  libqrtr-glib/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-18 22:33:22 UTC (rev 428629)
+++ PKGBUILD	2021-11-18 22:49:57 UTC (rev 428630)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgname=libqrtr-glib
-pkgver=1.0.0
+pkgver=1.2.0
 pkgrel=1
 pkgdesc="Qualcomm IPC Router protocol helper library"
 arch=(x86_64)
@@ -8,36 +8,30 @@
 url="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib"
 license=(GPL2)
 depends=(glib2)
-makedepends=(gtk-doc python git autoconf-archive gobject-introspection)
+makedepends=(gtk-doc meson git gobject-introspection)
 provides=(libqrtr-glib.so)
-_commit=cfb383e8536d7a62cf833925ab396da456e673e2  # tags/1.0.0
+_commit=7586514fbe1580e042039519bcc6dec537ded40a  # tags/1.2.0^0
 source=("git+https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-rc/rc/;s/-/+/g'
+  git describe --tags | sed 's/-rc/rc/;s/[^-]*-g/r&/;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
-  make
+  arch-meson $pkgname build
+  meson compile -C build
 }
 
 check() {
-  cd $pkgname
-  make check
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  meson install -C build --destdir "$pkgdir"
 }



More information about the arch-commits mailing list