1 # Maintainer : Dave Reisner <d@falconindy.com>
6 pkgdesc="Libalpm bindings for Python 3"
8 url="http://projects.archlinux.org/users/remy/pyalpm.git/"
10 depends=('python>=3.2' 'pacman-git')
15 _gitroot="git://projects.archlinux.org/users/remy/pyalpm.git"
20 msg "Connecting to GIT server...."
22 if [[ -d $_gitname ]] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
41 python setup.py install --root=${pkgdir}