aboutsummaryrefslogtreecommitdiffstats
path: root/testing/smenu
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-09-10 00:33:01 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-09-10 00:33:34 +0200
commit11c6101a735134da422a8148b0c62a520d98997f (patch)
tree6bae6d46754b87038f29e7bdb3106dfa00dd6600 /testing/smenu
parent47e318cd8a4339131aa251d282e2fa74a9020356 (diff)
downloadaports-11c6101a735134da422a8148b0c62a520d98997f.tar.bz2
aports-11c6101a735134da422a8148b0c62a520d98997f.tar.xz
testing/smenu: new aport
https://github.com/p-gen/smenu A standard input word picker
Diffstat (limited to 'testing/smenu')
-rw-r--r--testing/smenu/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/smenu/APKBUILD b/testing/smenu/APKBUILD
new file mode 100644
index 0000000000..02c8715018
--- /dev/null
+++ b/testing/smenu/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=smenu
+pkgver=0.9.14
+pkgrel=0
+pkgdesc="A standard input word picker"
+url="https://github.com/p-gen/smenu"
+arch="all"
+license="GPL-2.0-only"
+makedepends="ncurses-dev"
+options="!check" # tests seems to need full terminal to run
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/p-gen/smenu/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="0aa88860529addc72345b6edffbcbdb28367dfe9617cb3a67b065052f724e256f965ae1aec7d9020f0a20da21a801dfd3f57ccc0fe27dedc6018c1b3ad890087 smenu-0.9.14.tar.gz"