1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A polyphonic MIDI sequencer based on Finite State Automata"
8 url="http://drobilla.net/software/machina/"
10 depends=('flowcanvas>=1.0.0' 'jack' 'libglademm' 'raul>=0.8.1' 'sord')
11 makedepends=('python2' 'subversion')
12 install="$pkgname.install"
16 _svntrunk=http://svn.drobilla.net/lad/trunk/machina
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_svnmod-build"
32 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build"
40 sed -i "/ldconfig/d" src/{engine,client}/wscript
42 python2 waf configure --prefix=/usr
48 cd "$srcdir/$_svnmod-build"
50 DESTDIR="$pkgdir/" python2 waf install
52 # icon and desktop file
53 install -Dm644 src/gui/machina.svg "$pkgdir/usr/share/pixmaps/machina.svg"
54 install -Dm644 machina.desktop.in "$pkgdir/usr/share/applications/machina.desktop"