summaryrefslogtreecommitdiff
path: root/pcr/connman-ui-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/connman-ui-git/PKGBUILD')
-rw-r--r--pcr/connman-ui-git/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/connman-ui-git/PKGBUILD b/pcr/connman-ui-git/PKGBUILD
new file mode 100644
index 000000000..a0d0b614c
--- /dev/null
+++ b/pcr/connman-ui-git/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: freaj <freaj@riseup.net>
+# Maintainer (Arch) Bertrand Bonnefoy-Claudet <bertrandbc@gmail.com>
+
+pkgname=connman-ui-git
+pkgver=r24.706afd5
+pkgrel=1
+pkgdesc="A full-featured GTK based trayicon UI for ConnMan (git version)"
+arch=('i686' 'x86_64')
+url="https://github.com/tbursztyka/connman-ui"
+license=('GPL2')
+depends=('connman' 'gtk3')
+makedepends=('git' 'intltool')
+source=("git+https://github.com/tbursztyka/connman-ui.git")
+md5sums=('SKIP')
+
+_gitroot="connman-ui"
+
+pkgver() {
+ cd "$srcdir/$_gitroot"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$_gitroot"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitroot"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+