1 # Contributor: Anomander <anomander[at]freenet[dot]de>
6 pkgdesc="A colourfull arcade logic game - also known as puzz-le"
7 url="http://github.com/icefox/anigma"
11 arch=('i686' 'x86_64')
13 _gitroot="git://github.com/icefox/anigma.git"
19 msg "Connecting to GIT server..."
21 if [ -d $srcdir/$_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
32 cd $srcdir/$_gitname-build
38 make install INSTALL_ROOT="$pkgdir"
39 install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
41 rm -r $srcdir/$_gitname-build/