1 # Maintainer: Roman Zimbelmann <romanz@lavabit.com>
6 pkgdesc="A simple, vim-like file manager."
8 url="http://savannah.nongnu.org/projects/ranger"
15 _gitroot="git://git.sv.gnu.org/ranger.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."
26 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
34 msg "Running setup.py..."
35 python setup.py -q install --root="${pkgdir}" --optimize=1