summarylogtreecommitdiffstats
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
downloadaur-ea96b1da7b7545205b7dc3f99738645677a82189.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD32
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..844ebd9b95f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = connman-ui-git
+ pkgdesc = A full-featured GTK based trayicon UI for ConnMan (git version)
+ pkgver = r33.1e1fd69
+ pkgrel = 1
+ url = https://github.com/tbursztyka/connman-ui
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ makedepends = intltool
+ depends = connman
+ depends = gtk3
+ source = git+https://github.com/tbursztyka/connman-ui.git
+ md5sums = SKIP
+
+pkgname = connman-ui-git
+
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
+}