aboutsummaryrefslogtreecommitdiffstats
path: root/main/goaccess/APKBUILD
blob: 394a765744f982ab61bc3af2d7aca40d9cb56491 (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
34
35
36
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=goaccess
pkgver=1.6.1
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 libmaxminddb-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=mmdb \
		--enable-utf8
	make
}

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

sha512sums="
9ede39be81ed523258431799029b7fceb96b7a962df16af75819effe7045d72bd70dd47bc226ce5561e28d3dd1739e6277a883c2acd8110eeb00cf67d4ec9293  goaccess-1.6.1.tar.gz
"