aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nnn/APKBUILD
blob: fe4d040cf95ea567754500d8870b39cf05334af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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 !armhf"  # armhf: fails to build
license="BSD-2-Clause"
depends="bash"
makedepends="ncurses-dev readline-dev"
options="!check"  # no tests provided and `nnn -v` requires tty
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
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="7172f37f98f15b37cd2959c5ad144d32f55cde9cd2fe3221fc7a23887d3326da924c9be0bdc61a01a4d98ceb9b03de2420a66cc2cbf94a2ae1547da206e4c49a  nnn-1.6.tar.gz"