summaryrefslogtreecommitdiff
path: root/community/goaccess/PKGBUILD
blob: 0c9b817460dd46f004ebfdb91f810f579ecf0d41 (plain)
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
# $Id: PKGBUILD 116476 2014-07-28 10:32:24Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Josh VanderLinden <arch@cloudlery.com>
# Contributor: Nicolas Storme <nicolas@atelier-web.com>

pkgname=goaccess
pkgver=0.8.3
pkgrel=1
pkgdesc="An open source real-time web log analyzer and interactive viewer"
arch=('i686' 'x86_64')
url="http://goaccess.prosoftcorp.com"
license=('GPL')
depends=('ncurses' 'geoip' 'glib2')
backup=('etc/goaccess.conf')
source=(http://tar.goaccess.prosoftcorp.com/$pkgname-$pkgver.tar.gz)

build() {
  cd $pkgname-$pkgver
  ./configure --enable-geoip --enable-utf8
  make prefix=/usr sysconfdir=/etc
}

package() {
  cd $pkgname-$pkgver
  make prefix="$pkgdir/usr" sysconfdir="$pkgdir/etc" install
}

sha512sums=('ae03a6a5090ffbc9a329365ffb1c706613553af6005288bcbae5c05edd20bc6198234d6a32808367a28c53358244caaec26c38aad52c5c669b9d592e75ba4660')