# Contributor: Michael Pusterhofer pkgname=pylibacl-git pkgver=20100515 pkgrel=1 pkgdesc="A python extension module that allows you to manipulate the POSIX.1e Access Control Lists present in some os/filesystem combinations" arch=("i686" "x86_64") url="http://pylibacl.sourceforge.net" license=("LGPL") depends=("python" "acl") makedepends=("git") provides=("pylibacl") conflicts=("pylibacl") _gitroot="git://git.k1024.org/pylibacl.git" _gitname="pylibacl" build() { cd "$srcdir" msg "Connecting to GIT server...." if [ -d $_gitname ] ; then cd $_gitname && git pull origin msg "The local files are updated." else git clone $_gitroot $_gitname fi msg "GIT checkout done or server timeout" msg "Starting make..." rm -rf "$srcdir/$_gitname-build" git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" cd "$srcdir/$_gitname" # # BUILD HERE # python setup.py install --root="$pkgdir" || return 1 }