aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lnav/APKBUILD
blob: e73923b7a65ed230ad3b716787766a14723bc02b (plain) (blame)
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
29
30
31
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de>
pkgname=lnav
pkgver=0.9.0
pkgrel=0
pkgdesc="advanced log file navigator and viewer"
url="https://lnav.org"
arch="all"
options="!check" # failed on some tests
license="BSD-2-Clause"
makedepends="libbsd-dev bzip2-dev zlib-dev sqlite-dev readline-dev pcre-dev
	ncurses-dev bash"
subpackages="$pkgname-doc"
source="https://github.com/tstack/lnav/releases/download/v$pkgver/lnav-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="4f03c83003b262c6aa1d1e87d61b4a3ae8f1ccd33a2df1b451f263d3925791d3b46285bbe276d89733a2bd464be9029e7100ce12fdfe3e009a089f250e601151  lnav-0.9.0.tar.gz"