updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / sqlbuddy / PKGBUILD
blob8117c6dcfffdf0b867efe99a28c4aef114536d59
1 # Contributor: Antonio Bonifati <ant@venus-deis\unical/it> (substitute -\/ with .)
2 pkgname=sqlbuddy
3 pkgver=1.3.3
4 pkgrel=1
5 pkgdesc='Fast web-based tool to administrate MySQL'
6 arch=('i686' 'x86_64')
7 url='http://www.sqlbuddy.com/'
8 license=('MIT')
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')
14 build() {
15   local instdir=$pkgdir/usr/share/webapps
16   cd $srcdir
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