updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / contagged-git / PKGBUILD
blobf6c733e1d3ca6058252b1157ab4e01be42c1942d
1 pkgname=contagged-git
2 pkgver=20111125
3 pkgrel=1
4 pkgdesc="LDAP addressbook web-interface"
5 arch=(any)
6 url="http://www.cosmocode.de/en/opensource/contagged"
7 license=('GPL')
8 depends=('php-ldap')
9 backup=('srv/http/contagged/inc/config.php')
10 source=("contagger-$pkgver.zip::https://github.com/cosmocode/contagged/zipball/master")
11 md5sums=('21b89e01f9f071cf9818c8187a39fcbe')
13 build() {
14   cd "$srcdir/"
15   true
18 package() {
19   cd "$srcdir/"
20   mkdir -p $pkgdir/srv/http/
21   cp -a cosmocode-contagged-*/ $pkgdir/srv/http/contagged
23   cd $pkgdir/srv/http/contagged
24   find . -type f -exec chmod 0644 {} \;
25   find . -type d -exec chmod 0755 {} \;
26   chown -R http:http cache
27   chmod 0775 cache