1 # Contributor: Berkus <berkus@madfire.net>
2 # Contributor: Robert Emil Berge <filoktetes@linuxophic.org>
3 # Contributor: Sebastien Piccand <sebcactus gmail com>
4 # Contributor: SpepS <dreamspepser at yahoo dot it>
5 # Maintainer: Gimmeapill <gimmeapill at gmail dot com>
10 pkgdesc="A Buzz-like tracker"
11 arch=('i686' 'x86_64')
13 url="http://www.aldrin.eu"
14 depends=('hicolor-icon-theme' 'pygtk' 'armstrong' 'python2-numpy')
15 makedepends=('scons' 'mercurial')
17 conflicts=('neil' 'libneil')
18 install="$pkgname.install"
20 _hgroot=http://bitbucket.org/paniq
26 msg "Connecting to Mercurial server...."
27 if [ -d $_hgrepo ]; then
30 msg "The local files are updated."
32 hg clone $_hgroot/$_hgrepo $_hgrepo
35 msg "Mercurial clone done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_hgrepo-build"
39 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
40 cd "$srcdir/$_hgrepo-build"
43 export PYTHON="python2"
45 -e "s_\(env python\).*_\12_" \
46 -e "s_\(bin/python\).*_\12_" \
47 -i `grep -rlE "(env python|bin/python)" .`
52 cd "$srcdir/$_hgrepo-build"
54 scons install PREFIX=/usr DESTDIR="$pkgdir/"