1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A MIDI router and processor based on Python, supporting ALSA and JACK MIDI."
8 url="http://das.nasophon.de/mididings/"
10 depends=('boost-libs' 'python2' 'jack' 'libsmf')
12 optdepends=('dbus-python: to send DBUS messages'
13 'pyliblo: to send or receive OSC messages'
14 'pyinotify: to automatically restart')
15 source=("http://das.nasophon.de/download/$pkgname-$pkgver.tar.gz")
16 md5sums=('a9a3308f05f40deff7c790ed108e734d')
19 cd "$srcdir/$pkgname-$pkgver"
21 export PYTHON="python2"
23 python2 setup.py build --enable-smf
27 cd "$srcdir/$pkgname-$pkgver"
29 python2 setup.py install --prefix=/usr --root=$pkgdir
31 # Install docs and examples
32 mkdir -p "$pkgdir"/usr/share/{doc/,}$pkgname
33 install -Dm644 doc/*.* "$pkgdir/usr/share/doc/$pkgname"
34 cp -a doc/examples "$pkgdir/usr/share/$pkgname"