1 # Contributor: Jason Chu <jason@archlinux.org>
2 # Contributor: Jesse Young <jesse.young@gmail.com>
7 pkgdesc="A Pacman package analyzer, git version"
9 url="http://projects.archlinux.org/namcap.git/"
11 depends=('python' 'licenses')
12 makedepends=('git' 'python-distribute')
18 _gitroot='http://projects.archlinux.org/git/namcap.git'
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
42 python ./setup.py install --root=${pkgdir}