1 # Contributor: Stephen Sugden < glurgle |at| gmail |dot| com >
6 pkgdesc="A music theory and notation package for Python"
8 url="http://mingus.googlecode.com"
11 makedepends=('autoconf' 'automake' 'gettext' 'imagemagick' 'intltool' 'subversion')
12 optdepends=('lilypond: for generating sheet music',
13 'fluidsynth: for realtime MIDI playback support')
14 provides=("${pkgname%-svn}")
15 conflicts=("${pkgname%-svn}")
17 _svntrunk=http://mingus.googlecode.com/svn/trunk/
18 _svnmod=${pkgname%-svn}
23 msg "Connecting to SVN server...."
24 svn co $_svntrunk --config-dir ./ -r $_revnumber $_svnmod
26 msg "SVN checkout done or the server timed out"
28 # Copy files to build directory
29 rm -rf "$srcdir/$_svnmod-build"
30 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31 cd "$srcdir/$_svnmod-build"
33 python setup.py install --root="$pkgdir"
34 install -d "$pkgdir/usr/share/doc/$_svnmod"
35 mv "$pkgdir/usr/mingus_examples" "$pkgdir/usr/share/doc/$_svnmod/"