aboutsummaryrefslogtreecommitdiffstats
path: root/main/goaccess/APKBUILD
blob: 3f95edec1428ac123feb04de3faa0ed1ca020103 (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
pkgrel=1
pkgdesc="A real-time web log analyzer and interactive viewer"
options="!check" # No testsuite
url="http://goaccess.io"
arch="all"
license="GPL-2.0-or-later"
makedepends="ncurses-dev geoip-dev glib-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="http://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="de5f6759a10193a625efb1f70a7aeed68f6bac3c6977f8a34f67c0320eeb995c2e063df9e6f5196de2dd5aaf42b7a90f3e9599a20ecdbc67d0f89c87f1ba852c  goaccess-1.4.tar.gz"