summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Choina2019-11-30 18:37:55 -0500
committerSolomon Choina2019-11-30 18:37:55 -0500
commitac875a3aa6fc567b5129d68d715105f36e4f77e6 (patch)
tree480bb71d640a53dbd4f684c3a7cb15e7594cfad7
downloadaur-ac875a3aa6fc567b5129d68d715105f36e4f77e6.tar.gz
initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD31
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0d0c1feb346
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = libnma-git
+ pkgdesc = Necessary for Network Manager UI
+ pkgver = 1.8.27.dev.r5.fa19e6ee
+ pkgrel = 1
+ url = https://gitlab.gnome.org/GNOME/libnma
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ makedepends = meson
+ makedepends = mobile-broadband-provider-info
+ makedepends = iso-codes
+ makedepends = gobject-introspection
+ makedepends = gtk-doc
+ depends = gcr
+ depends = libnm
+ provides = libnma
+ conflicts = libnma
+ source = git+https://gitlab.gnome.org/GNOME/libnma
+ sha256sums = SKIP
+
+pkgname = libnma-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6ecb981dcfd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+
+# Maintainer: Solomon Choina <shlomochoina@gmail.com>
+pkgname=libnma-git
+pkgver=1.8.27.dev.r5.fa19e6ee
+pkgrel=1
+pkgdesc="Necessary for Network Manager UI"
+arch=('x86_64')
+url="https://gitlab.gnome.org/GNOME/libnma"
+license=('GPL2')
+depends=('gcr' 'libnm')
+makedepends=('git' 'meson' 'mobile-broadband-provider-info' 'iso-codes' 'gobject-introspection' 'gtk-doc')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+options=()
+source=('git+https://gitlab.gnome.org/GNOME/libnma')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g' )"
+
+}
+
+build() {
+ arch-meson libnma build
+ ninja -C build
+}
+
+package() {
+ DESTDIR=$pkgdir ninja -C build install
+}