diff options
-rw-r--r-- | testing/nnn/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/nnn/APKBUILD b/testing/nnn/APKBUILD new file mode 100644 index 0000000000..b0cecaaf3c --- /dev/null +++ b/testing/nnn/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +# FIXME: Rewrite nlay to get rid of dependency on bash. +pkgname=nnn +pkgver=1.6 +pkgrel=0 +pkgdesc="The missing terminal file browser for X" +url="https://github.com/jarun/nnn" +arch="all" +license="BSD-2-Clause" +depends="bash" +makedepends="ncurses-dev readline-dev" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/jarun/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + make +} + +check() { + cd "$builddir" + ./nnn -v +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" PREFIX=/usr install +} + +sha512sums="7172f37f98f15b37cd2959c5ad144d32f55cde9cd2fe3221fc7a23887d3326da924c9be0bdc61a01a4d98ceb9b03de2420a66cc2cbf94a2ae1547da206e4c49a nnn-1.6.tar.gz" |