diff options
Diffstat (limited to 'testing/smenu')
-rw-r--r-- | testing/smenu/APKBUILD | 33 |
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" |