summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD33
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..229a63fb01c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by makepkg 4.2.0
+# Sun Jan 18 18:17:45 UTC 2015
+pkgbase = qconnman-git
+ pkgdesc = QConnman Library (Qt)
+ pkgver = r202.g6b9d09b
+ pkgrel = 1
+ epoch = 4
+ url = https://bitbucket.org/OSSystems/qconnman
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ depends = connman
+ depends = qt4
+ source = git+https://bitbucket.org/devonit/qconnman.git
+ md5sums = SKIP
+
+pkgname = qconnman-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6da909c0362
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Lara Maia <lara@craft.net.br>
+# Contributor: Rob McCathie <archaur at rmcc dot com dot au>
+
+pkgname=qconnman-git
+pkgver=r202.g6b9d09b
+pkgrel=1
+epoch=4
+pkgdesc="QConnman Library (Qt)"
+arch=('i686' 'x86_64')
+url="https://bitbucket.org/OSSystems/qconnman"
+license=('LGPL')
+depends=('connman' 'qt4')
+makedepends=('git')
+source=(git+https://bitbucket.org/devonit/qconnman.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir"/qconnman
+ local r=$(git rev-list --count HEAD)
+ local h=$(git rev-parse --short HEAD)
+ echo "r$r.g$h"
+}
+
+build() {
+ cd "$srcdir"/qconnman
+ qmake-qt4 PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"/qconnman
+ make INSTALL_ROOT="$pkgdir" install
+}