1 #Contributor: Yannick LM yannicklm1337 at gmail dot com
6 pkgdesc='cp with a progressbar'
8 url='http://gitorious.org/projects/pycp'
10 depends=('python' 'python-progressbar')
11 makedepends=('python' 'git')
13 _gitroot="git://gitorious.org/pycp/mainline.git"
18 msg "Connecting to gitorious.org GIT server...."
20 if [ -d ${srcdir}/$_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
29 msg "Starting setup.py ..."
30 cd ${srcdir}/$_gitname
31 python setup.py install --root=$startdir/pkg || return 1