1 # Contributor: Jon Bergli Heier <snakebite@jvnv.net>
5 pkgdesc="PyAniDB is a client for AniDB's UDP API."
7 url="http://redmine.jvnv.net/projects/pyanidb/wiki"
10 optdepends=('pyxattr')
14 _gitroot="git://git.jvnv.net/pyanidb"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
35 python setup.py install --root=${pkgdir} || return 1