[arch-commits] Commit in libqrtr-glib/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Thu Nov 18 22:52:44 UTC 2021
Date: Thursday, November 18, 2021 @ 22:52:44
Author: heftig
Revision: 428632
archrelease: copy trunk to extra-x86_64
Added:
libqrtr-glib/repos/extra-x86_64/PKGBUILD
(from rev 428631, libqrtr-glib/trunk/PKGBUILD)
Deleted:
libqrtr-glib/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 37 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-18 22:51:20 UTC (rev 428631)
+++ PKGBUILD 2021-11-18 22:52:44 UTC (rev 428632)
@@ -1,43 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-
-pkgname=libqrtr-glib
-pkgver=1.0.0
-pkgrel=1
-pkgdesc="Qualcomm IPC Router protocol helper library"
-arch=(x86_64)
-url="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib"
-license=(GPL2)
-depends=(glib2)
-makedepends=(gtk-doc python git autoconf-archive gobject-introspection)
-provides=(libqrtr-glib.so)
-_commit=cfb383e8536d7a62cf833925ab396da456e673e2 # tags/1.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'
-}
-
-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
-}
-
-check() {
- cd $pkgname
- make check
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: libqrtr-glib/repos/extra-x86_64/PKGBUILD (from rev 428631, libqrtr-glib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-18 22:52:44 UTC (rev 428632)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=libqrtr-glib
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Qualcomm IPC Router protocol helper library"
+arch=(x86_64)
+url="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib"
+license=(GPL2)
+depends=(glib2)
+makedepends=(gtk-doc meson git gobject-introspection)
+provides=(libqrtr-glib.so)
+_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/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
More information about the arch-commits
mailing list