[arch-commits] Commit in libnma/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Thu Apr 7 08:54:15 UTC 2022
Date: Thursday, April 7, 2022 @ 08:54:15
Author: heftig
Revision: 441703
archrelease: copy trunk to extra-x86_64
Added:
libnma/repos/extra-x86_64/PKGBUILD
(from rev 441702, libnma/trunk/PKGBUILD)
Deleted:
libnma/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 166 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 83 insertions(+), 83 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-07 08:53:51 UTC (rev 441702)
+++ PKGBUILD 2022-04-07 08:54:15 UTC (rev 441703)
@@ -1,83 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-
-pkgbase=libnma
-pkgname=(libnma-common libnma libnma-gtk4)
-pkgver=1.8.36
-pkgrel=3
-pkgdesc="NetworkManager GUI client library"
-url="https://gitlab.gnome.org/GNOME/libnma"
-arch=(x86_64)
-license=(GPL LGPL)
-makedepends=(gobject-introspection git gtk-doc meson vala libnm gcr gtk3 gtk4
- iso-codes mobile-broadband-provider-info dconf)
-options=(debug)
-_commit=d3080c86c6cfb71d16514af4d967d36dba976206 # tags/1.8.36^0
-source=("git+https://gitlab.gnome.org/GNOME/libnma.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd libnma
- git describe --tags | sed 's/-dev/dev/;s/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
- cd libnma
-}
-
-build() {
- arch-meson libnma build -D libnma_gtk4=true
- meson compile -C build
-}
-
-check() {
- meson test -C build --print-errorlogs
-}
-
-_pick() {
- local p="$1" f d; shift
- for f; do
- d="$srcdir/$p/${f#$pkgdir/}"
- mkdir -p "$(dirname "$d")"
- mv "$f" "$d"
- rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
- done
-}
-
-package_libnma-common() {
- pkgdesc+=" (common files)"
- depends=(libnm iso-codes mobile-broadband-provider-info dconf)
-
- meson install -C build --destdir "$pkgdir"
-
- cd "$pkgdir"
-
- _pick gtk3 usr/lib/libnma.so*
- _pick gtk3 usr/lib/pkgconfig/libnma.pc
- _pick gtk3 usr/lib/girepository-1.0/NMA-*
- _pick gtk3 usr/share/gir-1.0/NMA-*
- _pick gtk3 usr/share/vala/vapi/libnma.*
-
- _pick gtk4 usr/lib/libnma-gtk4.so*
- _pick gtk4 usr/lib/pkgconfig/libnma-gtk4.pc
- _pick gtk4 usr/lib/girepository-1.0/NMA4-*
- _pick gtk4 usr/share/gir-1.0/NMA4-*
- _pick gtk4 usr/share/vala/vapi/libnma-gtk4.*
-}
-
-package_libnma() {
- pkgdesc+=" (GTK3)"
- depends=(libnma-common="$pkgver-$pkgrel" gtk3 gcr)
- provides=(libnma.so)
-
- mv gtk3/* "$pkgdir"
-}
-
-package_libnma-gtk4() {
- pkgdesc+=" (GTK4)"
- depends=(libnma-common="$pkgver-$pkgrel" gtk4)
- provides=(libnma-gtk4.so)
-
- mv gtk4/* "$pkgdir"
-}
-
-# vim:set sw=2 et:
Copied: libnma/repos/extra-x86_64/PKGBUILD (from rev 441702, libnma/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-07 08:54:15 UTC (rev 441703)
@@ -0,0 +1,83 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgbase=libnma
+pkgname=(libnma-common libnma libnma-gtk4)
+pkgver=1.8.38
+pkgrel=1
+pkgdesc="NetworkManager GUI client library"
+url="https://gitlab.gnome.org/GNOME/libnma"
+arch=(x86_64)
+license=(GPL LGPL)
+makedepends=(gobject-introspection git gtk-doc meson vala libnm gcr gtk3 gtk4
+ iso-codes mobile-broadband-provider-info dconf)
+options=(debug)
+_commit=89c46388258951ca356f9872c63f4f7c4cbcd592 # tags/1.8.38^0
+source=("git+https://gitlab.gnome.org/GNOME/libnma.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd libnma
+ git describe --tags | sed 's/-dev/dev/;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd libnma
+}
+
+build() {
+ arch-meson libnma build -D libnma_gtk4=true
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+_pick() {
+ local p="$1" f d; shift
+ for f; do
+ d="$srcdir/$p/${f#$pkgdir/}"
+ mkdir -p "$(dirname "$d")"
+ mv "$f" "$d"
+ rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+ done
+}
+
+package_libnma-common() {
+ pkgdesc+=" (common files)"
+ depends=(libnm iso-codes mobile-broadband-provider-info dconf)
+
+ meson install -C build --destdir "$pkgdir"
+
+ cd "$pkgdir"
+
+ _pick gtk3 usr/lib/libnma.so*
+ _pick gtk3 usr/lib/pkgconfig/libnma.pc
+ _pick gtk3 usr/lib/girepository-1.0/NMA-*
+ _pick gtk3 usr/share/gir-1.0/NMA-*
+ _pick gtk3 usr/share/vala/vapi/libnma.*
+
+ _pick gtk4 usr/lib/libnma-gtk4.so*
+ _pick gtk4 usr/lib/pkgconfig/libnma-gtk4.pc
+ _pick gtk4 usr/lib/girepository-1.0/NMA4-*
+ _pick gtk4 usr/share/gir-1.0/NMA4-*
+ _pick gtk4 usr/share/vala/vapi/libnma-gtk4.*
+}
+
+package_libnma() {
+ pkgdesc+=" (GTK3)"
+ depends=(libnma-common="$pkgver-$pkgrel" gtk3 gcr)
+ provides=(libnma.so)
+
+ mv gtk3/* "$pkgdir"
+}
+
+package_libnma-gtk4() {
+ pkgdesc+=" (GTK4)"
+ depends=(libnma-common="$pkgver-$pkgrel" gtk4)
+ provides=(libnma-gtk4.so)
+
+ mv gtk4/* "$pkgdir"
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list