aboutsummaryrefslogtreecommitdiffstats
path: root/main/goaccess/APKBUILD
blob: 4db2e6b4f2ce8523db05f5cc642b73c68121b676 (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
33
# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=goaccess
pkgver=1.4.3
pkgrel=0
pkgdesc="Real-time web log analyzer and interactive viewer"
options="!check" # no test suite
url="https://goaccess.io/"
arch="all"
license="GPL-2.0-or-later"
makedepends="ncurses-dev geoip-dev glib-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://tar.goaccess.io/goaccess-$pkgver.tar.gz"

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

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

sha512sums="8f5cbd6d9aca9fdb9310a969b0e8ae86a388a2d82d35a120a56a8d81597c163d8df6b27465ade400492c7edd50b3a73192154e8f8243f782421997fac36bc50a  goaccess-1.4.3.tar.gz"