summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6ecb981dcfd805a1385f90b96a283c117260716c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}