# Contributor: Ɓukasz Jendrysik # Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=goaccess pkgver=1.0.2 pkgrel=0 pkgdesc="A real-time web log analyzer and interactive viewer" url="http://goaccess.prosoftcorp.com/" arch="all" license="GPL2+" depends="" makedepends="ncurses-dev geoip-dev glib-dev" subpackages="$pkgname-doc" source="http://tar.goaccess.io/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare || return 1 update_config_sub } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --enable-geoip \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="447cb15212dd623b06e8ccb3e5b38fc2 goaccess-1.0.2.tar.gz" sha256sums="58a83e201f29f0127b89032fbd40677558a643f6141b8c8413afd1e182f104f1 goaccess-1.0.2.tar.gz" sha512sums="ab078e4e01fb3b47b35ca8c82de24add7a712e49f1164c8cc7b19368fe29ce27c63527b976e29d743d1f54a1e0a01ebfeca43fed9b927fa8d991e4cf56c51152 goaccess-1.0.2.tar.gz"