updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / pdnsgui / PKGBUILD
blob9d0e37c1d1f35d4ba88765a9d63872d747436795
1 # Contributor: Filip <fila@pruda.com>
3 pkgname=pdnsgui
4 pkgver=0.3.3
5 pkgrel=2
6 pkgdesc="Web based GUI which aids in administering domains and records for the PowerDNS name server software with MySQL backend."
7 arch=('any')
8 license=('GPL2')
9 url="http://code.google.com/p/pdns-gui/"
10 backup=(srv/http/pdnsgui/config/databases.yml srv/http/pdnsgui/config/propel.ini)
11 depends=('php' 'mysql')
12 source=(http://pdns-gui.googlecode.com/files/pdns-gui.$pkgver.tgz patch.diff)
13 md5sums=('caa45c5408764ccd98cfffd69e5e976f' 'd5538b035e50605357703e0e346c8cd1')
14 install=$pkgname.install
16 build() {
18   patch -p1 < patch.diff || return 1
20   _instdir=${startdir}/pkg/srv/http/pdnsgui
21   mkdir -p ${_instdir}
22   cd ${_instdir}
23   
24   cp -ra ${srcdir}/pdns-gui.$pkgver/* .  || return 1
25   chmod 777 cache
26   chmod 777 log
27