summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD32
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c57898b70ea
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = batman-alfred-json-git
+ pkgdesc = Simple alfred client with JSON output
+ pkgver = 88
+ pkgrel = 1
+ url = https://github.com/tcatm/alfred-json
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ makedepends = cmake
+ depends = jansson
+ depends = zlib
+ optdepends = batman-alfred: Local alfred server
+ source = git://github.com/tcatm/alfred-json
+ md5sums = SKIP
+
+pkgname = batman-alfred-json-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4503d7a5169
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Florian Knodt <arch at adlerweb d info>
+
+pkgname=batman-alfred-json-git
+pkgver=88
+pkgrel=1
+pkgdesc='Simple alfred client with JSON output'
+arch=('i686' 'x86_64')
+url="https://github.com/tcatm/alfred-json"
+depends=('jansson' 'zlib')
+optdepends=('batman-alfred: Local alfred server')
+makedepends=('git' 'cmake')
+source=("git://github.com/tcatm/alfred-json")
+md5sums=('SKIP')
+license=('GPL2')
+
+pkgver() {
+ cd "$srcdir/alfred-json"
+ git rev-list HEAD --count
+}
+
+build() {
+ cd "$srcdir/alfred-json"
+ mkdir build
+ cd build
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/alfred-json/build"
+ make DESTDIR="$pkgdir" install
+}