aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lnav/APKBUILD
blob: aec27f4aed1b71a1cff74844eda0b1d50c87e196 (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
32
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de>
pkgname="lnav"
pkgver="0.8.5"
pkgrel=1
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"
builddir="$srcdir/lnav-$pkgver"

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

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

sha512sums="fbb61d454dc89388aeaaeca6ba1366f84cbd75260ef8e2f26a4208ab22f175886438dad7f40e4c21089209c7713c1ebcc3a722a248083c8d55f264cf139a79fe  lnav-0.8.5.tar.gz"