summaryrefslogtreecommitdiff
path: root/community/goaccess/PKGBUILD
blob: 8d524d69896f48abbf6f5fe08ff91bb001a7f7c2 (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 111676 2014-05-22 14:14:12Z 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
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=('3e738c02c5836e8b20a6c91c4a410440e0aa1821cb39a7f5b3be3baa8263f5ef442ca9e86fcc3a95c1274187ca986ce6129ec67477cebaf1e9449dcfdb852545')