aboutsummaryrefslogtreecommitdiffstats
path: root/community/libtermkey/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-10-19 01:05:27 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-19 01:06:01 +0200
commit14e6d1c97d97638cd7a650a57ec9fddee3141352 (patch)
treeaff807d6678ff7ca3eb63f0ab45e879d628685d5 /community/libtermkey/APKBUILD
parentede8486c7fe98ccca811270633068b10265c991a (diff)
downloadaports-14e6d1c97d97638cd7a650a57ec9fddee3141352.tar.bz2
aports-14e6d1c97d97638cd7a650a57ec9fddee3141352.tar.xz
community/libtermkey: move from testing
It's needed for neovim.
Diffstat (limited to 'community/libtermkey/APKBUILD')
-rw-r--r--community/libtermkey/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/libtermkey/APKBUILD b/community/libtermkey/APKBUILD
new file mode 100644
index 0000000000..55e2c6f9b7
--- /dev/null
+++ b/community/libtermkey/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
+# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
+pkgname=libtermkey
+pkgver=0.18
+pkgrel=0
+pkgdesc="Library for easy processing of keyboard entry from terminal-based programs"
+url="http://www.leonerd.org.uk/code/libtermkey"
+arch="all"
+license="MIT"
+depends=""
+depends_dev="unibilium-dev"
+makedepends="$depends_dev libtool perl"
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://www.leonerd.org.uk/code/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+
+ make PREFIX=/usr || return 1
+ make test
+}
+
+package() {
+ cd "$builddir"
+
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+
+md5sums="3be2e3e5a851a49cc5e8567ac108b520 libtermkey-0.18.tar.gz"
+sha256sums="239746de41c845af52bb3c14055558f743292dd6c24ac26c2d6567a5a6093926 libtermkey-0.18.tar.gz"
+sha512sums="7507d7bf22ab075e932401b2194dcc69b40138955dc398c86327a072603df2a1010474fa9a1c75aa7cab936fa500e5e53118675b0ec6e9a85b66a1b6b7f5332e libtermkey-0.18.tar.gz"