2 # Contributor: Joe Davison <joedavison.davison@gmail.com>
7 pkgdesc='Parses irssi log files as stats presented in HTML'
8 url='http://royale.zerezo.com/irssistats/'
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')
18 cd $srcdir/$pkgname-$pkgver
20 mkdir -p $pkgdir/{usr/bin,etc/irssistats,srv/http/irssistats}
23 install -m 755 $srcdir/$pkgname-$pkgver/irssistats $pkgdir/usr/bin
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/