# $Id: PKGBUILD 114434 2014-07-01 15:57:20Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Roman Kyrylych # Contributor: Roman Kyrylych pkgname=visitors pkgver=0.7 pkgrel=4 pkgdesc='A very fast web log analyzer' arch=('i686' 'x86_64') url="http://www.hping.org/visitors/" license=('GPL2' 'custom') depends=('glibc') source=(http://www.hping.org/visitors/$pkgname-$pkgver.tar.gz) md5sums=('32ede76af83c6b1b7d2cdc5fe5178f6d') build() { cd $srcdir/${pkgname}_${pkgver} make } package() { cd $srcdir/${pkgname}_${pkgver} install -D visitors $pkgdir/usr/bin/visitors install -D iis2apache.pl $pkgdir/usr/bin/iis2apache.pl gzip visitors.1 install -Dm644 visitors.1.gz $pkgdir/usr/share/man/man1/visitors.1.gz install -Dm644 COPYING $pkgdir/usr/share/licenses/visitors/COPYING }