1 # Maintainer: polslinux <garrett16@hotmail.it>
7 pkgdesc="logical game for programmers: write on Brainfuck for speed!"
8 url="https://github.com/darvin/brainspell"
11 depends=('python2' 'pyqt' 'phonon')
12 makedepends=('git' 'python2-distribute')
13 conflicts=('brainspell')
14 replaces=('brainspell')
15 provides=('brainspell=0.9')
17 _gitroot='git://github.com/darvin/brainspell.git'
25 msg "Connecting to GIT server...."
27 if [ -d "${srcdir}/${_gitname}" ] ; then
28 cd ${_gitname} && git pull --rebase
33 msg "GIT checkout done or server timeout"
35 if [ -d $_gitname-build ]; then
36 msg 'Removing old build directory'
37 rm -rf $_gitname-build
40 msg 'Copying repository to another build directory'
41 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
44 cd $srcdir/$_gitname-build
46 msg 'Running setup.py'
48 python setup.py install --prefix=/usr --root=$pkgdir