updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / suphp / PKGBUILD
blob9216d746717f397540a1e03a05c331d9c846f268
1 # Contributor: helios <helios@cyb0rg.org>
2 pkgname=suphp
3 pkgver=0.7.1
4 pkgrel=1
5 pkgdesc="A tool for executing PHP scripts with the permissions of their owners."
6 arch=("i686" "x86_64")
7 depends=("apr-util" "apache")
8 url="http://www.suphp.org/"
9 license=('GPL')
10 backup=('etc/suphp/suphp.conf')
11 source=(http://www.suphp.org/download/$pkgname-$pkgver.tar.gz suphp.conf)
12 md5sums=('c172dd4f15a75f4dcb08ea97d4202bb8' '797fb760d6a8ae833959f6b5cb64a2c1')
14 build() {
15   cd "$startdir/src/$pkgname-$pkgver"
17   ./configure --prefix=/usr --with-apr=/usr/bin/apr-1-config --sysconfdir=/etc/suphp --with-apache-user=http --with-setid-mode=owner --with-min-uid=33 --with-min-gid=33
18   make || return 1
19   make DESTDIR="$startdir/pkg" install
21   install -D -m 644 ${startdir}/suphp.conf ${startdir}/pkg/etc/suphp/suphp.conf
22   install -D -m 644 ${startdir}/src/$pkgname-$pkgver/doc/suphp.conf-example ${startdir}/pkg/etc/suphp/suphp.conf.example
25 # vim:set ts=2 sw=2 et: