1 # Maintainer: Bernardo Barros <bernardobarros@gmail.com>
6 pkgdesc="a graphical interface where users can draw and edit trajectories to control granular sound synthesis modules"
8 url="http://code.google.com/p/soundgrain/"
10 depends=('python2' 'python2-pyo-svn')
11 makedepends=('subversion')
13 _svntrunk="http://soundgrain.googlecode.com/svn/trunk/"
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf "$srcdir/$_svnmod-build"
29 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build"
35 install -d "$pkgdir"/usr/{bin,share/$pkgname}
37 cat << EOF >> "$pkgdir/usr/bin/$pkgname"
39 cd /usr/share/$pkgname && python2 SoundGrain.py
41 chmod 755 "$pkgdir/usr/bin/$pkgname"
43 cp -a SoundGrain.py examples Resources scripts "$pkgdir/usr/share/$pkgname"