# Contributor: Ɓukasz Jendrysik # Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=goaccess pkgver=1.1.1 pkgrel=0 pkgdesc="A real-time web log analyzer and interactive viewer" url="http://goaccess.prosoftcorp.com/" arch="all" license="GPL2+" 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="5b3a3d5bcb0b011b1fccf528159e5386 goaccess-1.1.1.tar.gz" sha256sums="4c73147037b350081d66e912a07fb2f0a60484fad1090a76fb6fc24ee086b6d3 goaccess-1.1.1.tar.gz" sha512sums="5ceb21754721603fa6422436fcac158bf3ea0ec54680851ceb6616a3385a2ad1ce38670b3cea62e14178e71c32999260fefbc29a82b115b1a1a30010879184d2 goaccess-1.1.1.tar.gz"