2 # Maintainer: Arch Linux Pro Audio <dev@archaudio.org>
3 # Contributor: SpepS <dreamspepser at yahoo dot it>
4 # Contributor: Bernardo Barros <bernardobarros@gmail.com>
6 # In testing because it isrequired by soundgrain,
7 # and it has (as the time of writing) just bugfixes in comparison to 0.02
9 pkgname=python2-pyo-svn
12 pkgdesc="A Python module written in C to help digital signal processing script creation"
13 arch=('i686' 'x86_64')
14 url="http://code.google.com/p/pyo/"
16 provides=('python-pyo' 'pyo' 'python2-pyo')
17 conflicts=('python-pyo' 'pyo' 'python-pyo-svn' 'pyo-svn')
18 depends=('python2' 'portmidi' 'portaudio' 'liblo' 'libsndfile')
20 _svntrunk="http://pyo.googlecode.com/svn/trunk/"
26 if [ -d $_svnmod/.svn ]; then
27 (cd $_svnmod && svn up -r $pkgver)
29 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
32 msg "SVN checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_svnmod-build"
36 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
38 cd "$srcdir/$_svnmod-build"
40 export PYTHON="python2"
41 python2 setup.py --use-jack build
43 python2 setup.py install --use-jack --root="$pkgdir/"
45 # cd "$srcdir/$_svnmod-build/doc"
46 # install -d $pkgdir/usr/share/doc/pyo
47 # cp -R * $pkgdir/usr/share/doc/pyo