summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBertrand Bonnefoy-Claudet2015-06-13 16:12:31 +0200
committerBertrand Bonnefoy-Claudet2015-06-13 16:12:31 +0200
commitea96b1da7b7545205b7dc3f99738645677a82189 (patch)
tree23c08e155df5d86cb5c3b1c42b51998a8efc5d89 /PKGBUILD
downloadaur-ea96b1da7b7545205b7dc3f99738645677a82189.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..51186999526
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Bertrand Bonnefoy-Claudet <bertrandbc@gmail.com>
+
+pkgname=connman-ui-git
+pkgver=r33.1e1fd69
+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
+}