1 # Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
3 pkgname=python2-legit-git
6 pkgdesc="Sexy Git CLI, Inspired by GitHub for Macâ„¢."
8 url="https://github.com/kennethreitz/legit"
10 depends=('python2' 'gitpython')
13 _gitroot="https://github.com/kennethreitz/legit.git"
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
34 python2 setup.py install --root=$pkgdir
36 install -Dm644 LICENSE \
37 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
40 # vim:set ts=2 sw=2 sts=2 et: