1 # Contributor: Antonio Bonifati <ant@venus-deis\unical/it> (substitute -\/ with .)
5 pkgdesc='Fast web-based tool to administrate MySQL'
7 url='http://www.sqlbuddy.com/'
9 depends=('mysql' 'php')
10 install=sqlbuddy.install
11 source=($pkgname-$pkgver.zip::http://www.sqlbuddy.com/download/dl.php apache.example.conf)
12 md5sums=('b90bb46584a23a587ffb424eda9f79c5' '1c412ecfac97425920c0390885d97e3a')
15 local instdir=$pkgdir/usr/share/webapps
17 install -d -m0755 $instdir $pkgdir/{etc/webapps,usr/share/licenses}/$pkgname && \
18 mv $pkgname $instdir && \
19 chmod -R -X+X $instdir/$pkgname/ && \
20 install -m0644 apache.example.conf $pkgdir/etc/webapps/$pkgname/ && \
21 install -m0644 $instdir/$pkgname/LICENSE $pkgdir/usr/share/licenses/$pkgname/ && \
22 rm $instdir/$pkgname/LICENSE