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 library, fork of armstrong"
11 arch=('i686' 'x86_64')
13 url="http://sites.google.com/site/neilsequencer/"
14 makedepends=('boost' 'mercurial' 'scons')
15 depends=('fftw' 'liblo' 'python2' 'libmad' 'alsa-lib' 'libsamplerate')
16 optdepends=('ladspa: ladspa plugins support'
17 'dssi: dssi plugins support'
18 'jack: jack sound server support')
20 conflicts=('aldrin' 'armstrong')
22 _hgroot="http://bitbucket.org/bucket_brigade"
28 msg "Connecting to Mercurial server...."
29 if [ -d $_hgrepo ]; then
32 msg "The local files are updated."
34 hg clone $_hgroot/$_hgrepo $_hgrepo
37 msg "Mercurial clone done or server timeout"
38 msg "Starting make..."
40 rm -rf "$srcdir/$_hgrepo-build"
41 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
42 cd "$srcdir/$_hgrepo-build"
45 export PYTHON="python2"
47 -e "s_\(env python\).*_\12_" \
48 -e "s_\(bin/python\).*_\12_" \
49 -i `grep -rlE "(env python|bin/python)" .`
50 sed -i "s_'python_&2_" SConstruct
54 scons configure PREFIX=/usr DESTDIR="$pkgdir/"
60 cd "$srcdir/$_hgrepo-build"