PKGBUILDs/community/phpldapadmin/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
718 B
Bash

# $Id: PKGBUILD 1431 2009-08-20 20:09:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=phpldapadmin
pkgver=1.2.0.1
pkgrel=1
pkgdesc="A PHP and hence web-based tool to administrate LDAP over the WWW"
arch=('any')
url="http://phpldapadmin.sourceforge.net/"
license=('GPL')
depends=('libldap' 'php')
backup=(srv/http/phpldapadmin/.htaccess)
source=(http://downloads.sourceforge.net/project/phpldapadmin/phpldapadmin-php5/$pkgver/phpldapadmin-$pkgver.tgz)
md5sums=('70506e30649292c1ec8e4ea95b844c69')
build() {
_instdir=${startdir}/pkg/srv/http/phpldapadmin
mkdir -p ${_instdir}
cd ${_instdir}
cp -ra ${startdir}/src/phpldapadmin-${pkgver}/* .
echo "deny from all" > .htaccess
}