aboutsummaryrefslogtreecommitdiffstats
path: root/main/keybinder
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-16 06:17:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-16 06:23:51 +0000
commit341a80fe80fcacafb330684bdf74a68078df0ff8 (patch)
tree7059a02ad53f7e79128d8c0f71b3f0a2e7e41b25 /main/keybinder
parent9d8ade0ee7ff5e40c903a674b16629ab34ee863d (diff)
downloadaports-341a80fe80fcacafb330684bdf74a68078df0ff8.tar.bz2
aports-341a80fe80fcacafb330684bdf74a68078df0ff8.tar.xz
main/keybinder: moved from testing
Diffstat (limited to 'main/keybinder')
-rw-r--r--main/keybinder/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/main/keybinder/APKBUILD b/main/keybinder/APKBUILD
new file mode 100644
index 0000000000..3f5eefeaa1
--- /dev/null
+++ b/main/keybinder/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=keybinder
+pkgver=0.3.0
+pkgrel=0
+pkgdesc="A library for registering global keyboard shortcuts"
+url="http://kaizer.se/wiki/keybinder/"
+arch="all"
+license="MIT"
+depends=""
+depends_dev="gtk+2.0-dev libxext-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://kaizer.se/publicfiles/keybinder/keybinder-$pkgver.tar.gz"
+
+_builddir="$srcdir"/keybinder-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --disable-static \
+ --disable-python \
+ --disable-lua \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="2a0aed62ba14d1bf5c79707e20cb4059 keybinder-0.3.0.tar.gz"