[arch-commits] Commit in libmbim/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: 428633
archrelease: copy trunk to extra-x86_64
Added:
libmbim/repos/extra-x86_64/PKGBUILD
(from rev 428631, libmbim/trunk/PKGBUILD)
Deleted:
libmbim/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 37 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-18 22:52:44 UTC (rev 428632)
+++ PKGBUILD 2021-11-18 22:52:44 UTC (rev 428633)
@@ -1,43 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-
-pkgname=libmbim
-pkgver=1.26.0
-pkgrel=2
-pkgdesc="MBIM modem protocol helper library"
-arch=(x86_64)
-url="https://www.freedesktop.org/wiki/Software/libmbim/"
-license=(GPL2)
-depends=(glib2 bash systemd)
-makedepends=(gtk-doc python git help2man gobject-introspection)
-provides=(libmbim-glib.so)
-_commit=717067603d82c14452e70fa24cacb60ac7688685 # tags/1.26.0
-source=("git+https://gitlab.freedesktop.org/mobile-broadband/libmbim.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: libmbim/repos/extra-x86_64/PKGBUILD (from rev 428631, libmbim/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-18 22:52:44 UTC (rev 428633)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=libmbim
+pkgver=1.26.2
+pkgrel=1
+pkgdesc="MBIM modem protocol helper library"
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/libmbim/"
+license=(GPL2)
+depends=(glib2 bash systemd)
+makedepends=(gtk-doc meson git help2man gobject-introspection bash-completion)
+provides=(libmbim-glib.so)
+_commit=55d51a8a76921b478a75b79a8695b37d989e4868 # tags/1.26.2
+source=("git+https://gitlab.freedesktop.org/mobile-broadband/libmbim.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 -D gtk_doc=true
+ 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