1 # Maintainer: Baptiste Jonglez <zerstorer at free dot fr>
2 # Contributor: Topo Lino <opotonil at localnet dot org dot es>
7 pkgdesc="Piwik is a real time web analytics software program, written in PHP"
9 url="http://www.piwik.org"
11 depends=('php' 'php-gd' 'mysql')
12 # Not needed anymore, the tarball includes a `config.ini.sample.php' file
13 #backup=('srv/http/piwik/config/config.ini.php')
15 source=(http://builds.piwik.org/$pkgname-$pkgver.tar.gz)
16 md5sums=('9be8cf856ae90fe8eaa1b85ac9a9c21c')
18 _piwikpath="/srv/http/piwik"
21 mkdir -p ${pkgdir}${_piwikpath}
22 cp -ra ${srcdir}/$pkgname/* ${pkgdir}${_piwikpath}
23 # This only works for apache... is it really necessary ?
24 echo "deny from all" > ${pkgdir}${piwikpath}/.htaccess