updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / sgwi / PKGBUILD
blob9458bbb43f08bfe0423d24e24f61ec1fd62bfe4d
1 # Contributor: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
2 pkgname=sgwi
3 pkgver=0.7
4 pkgrel=2
5 pkgdesc="A web-interface to the SQLGrey greylister for Postfix. This web-interface enables you to edit the white- and blacklists as well as the current state of the greylist."
6 arch=(any)
7 url="http://www.vanheusden.com/sgwi/"
8 license=('GPL')
9 depends=('sqlgrey')
10 backup=("srv/http/$pkgname/config.inc.php")
11 source=(http://www.vanheusden.com/sgwi/sqlgreywebinterface-$pkgver.tgz)
12 md5sums=('e7d5cc531651f8a2703ea8490c3f6ae4')
14 build() {
15   _INST_DIR="srv/http/$pkgname"
16   echo "Creating dirs..."
17         mkdir -p $pkgdir/$_INST_DIR
19         echo "Copying files..."
20         cp -r $srcdir/sqlgreywebinterface-$pkgver/* $pkgdir/$_INST_DIR
21         
22   echo "Setting permissions..."
23   chown -R 33:33 $pkgdir/$_INST_DIR
24         echo "Done"
27 # vim:set ts=2 sw=2 et: