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

Jan Steffens heftig at archlinux.org
Sun Mar 8 03:36:45 UTC 2020


    Date: Sunday, March 8, 2020 @ 03:36:45
  Author: heftig
Revision: 376960

1.8.28-1

Added:
  libnma/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-08 03:36:45 UTC (rev 376960)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libnma
+pkgver=1.8.28
+pkgrel=1
+pkgdesc="NetworkManager GUI client library"
+url="https://wiki.gnome.org/Projects/NetworkManager/"
+arch=(x86_64)
+license=(GPL LGPL)
+depends=(libnm gcr gtk3 iso-codes mobile-broadband-provider-info)
+makedepends=(gobject-introspection git gtk-doc meson vala)
+provides=(libnma.so)
+_commit=0c40a6aeaabbf2673e48360dc00419793da084b8  # tags/1.8.28^0
+source=("git+https://gitlab.gnome.org/GNOME/libnma.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-dev/dev/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+}
+
+build() {
+  arch-meson $pkgbase build
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list