1 # Contributor: Robson Cardoso dos Santos <cardoso.rcs@gmail.com>
6 pkgdesc="Behaviour Driven Development (BDD) tool written in Python"
8 url="http://lettuce.it/"
19 _gitroot="git://github.com/gabrielfalcao/lettuce.git"
24 msg "Connecting to GIT server...."
26 if [ -d "${srcdir}/${_gitname}" ]; then
27 cd ${_gitname} && git pull --rebase
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf ${srcdir}/build
36 mkdir -p ${srcdir}/build
37 cp -r ${srcdir}/${_gitname} ${srcdir}/build
38 cd ${srcdir}/build/${_gitname} || return 1
40 python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1