updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / irssistats / PKGBUILD
blob0707b2487abead9df8fe96e2308a85b7ec871067
2 # Contributor: Joe Davison <joedavison.davison@gmail.com>
4 pkgname=irssistats
5 pkgver=0.75
6 pkgrel=1
7 pkgdesc='Parses irssi log files as stats presented in HTML'
8 url='http://royale.zerezo.com/irssistats/'
9 license=(GPL)
10 depends=('irssi')
11 arch=('i686' 'x86_64')
12 install=irssistats.install
13 source=('irssistats.install' "http://royale.zerezo.com/irssistats/irssistats-0.75.tar.gz")
14 md5sums=('5520ab7364dc10b5976bde7d844a3dcc'
15          'f3654fd292220bd9adada7ff6c7f0421')
17 build() {
18     cd $srcdir/$pkgname-$pkgver
20     mkdir -p $pkgdir/{usr/bin,etc/irssistats,srv/http/irssistats}
22     make
23     install -m 755 $srcdir/$pkgname-$pkgver/irssistats $pkgdir/usr/bin
24     
25     # Copy sample files
26     cp $srcdir/$pkgname-$pkgver/sample.* $pkgdir/etc/irssistats
28     # Copy "data" html files to webserver directory
29     cp -R $srcdir/$pkgname-$pkgver/data $pkgdir/srv/http/irssistats/