1 # Maintainer: Samuel Tardieu <sam@rfc1149.net>
6 pkgdesc="Smaller, easier, more powerful, and more reliable than make."
7 url="https://github.com/apenwarr/redo/"
10 depends=('python2' 'sqlite3' 'zsh')
11 makedepends=('git' 'python-markdown' 'python-beautifulsoup')
14 _gitroot='http://github.com/apenwarr/redo.git'
21 msg "Connecting to GIT server..."
23 if [ -d $startdir/src/$_gitname ] ; then
24 cd $_gitname && git fetch && git reset --hard origin/master
25 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
31 cd "$srcdir/$_gitname"
32 git ls-files -z | xargs -0 sed -i -e 's,/usr/bin/python$,/usr/bin/python2,' \
33 -e 's,python -mcompileall,python2 -mcompileall,' \
34 -e 's,/usr/bin/env python$,/usr/bin/env python2,'
36 export DESTDIR="$pkgdir"
38 minimal/do install || return 1
39 rm "$pkgdir"/usr/lib/redo/sh
40 ln -s /bin/zsh "$pkgdir"/usr/lib/redo/sh