1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="Desfonema Sequencer is a tracker-inspired MIDI sequencer."
8 url="http://www.desfonema.com.ar/software.html"
10 depends=('pygtk' 'alsa-lib')
11 makedepends=('python2-distribute')
12 install="$pkgname.install"
13 source=("http://www.desfonema.com.ar/$pkgname/$pkgname-$pkgver.tar.bz2"
15 md5sums=('39a7eadb63370fd53a60c977cf38d3a6'
16 'eb84ee3fc967fbf2d84c5ffd49a0331f')
19 cd "$srcdir/$pkgname-$pkgver"
22 sed -i "s|\(python\).*|\12|" $pkgname.py
24 python2 setup.py build
28 cd "$srcdir/$pkgname-$pkgver"
31 python2 setup.py install --root="$pkgdir/"
34 install -d "$pkgdir/usr/share/$pkgname"
35 install -Dm644 *.py $pkgname.png "$pkgdir/usr/share/$pkgname"
36 cp -a midi "$pkgdir/usr/share/$pkgname"
39 install -d "$pkgdir/usr/bin"
40 cat << EOF >> "$pkgdir/usr/bin/$pkgname"
41 cd "$pkgdir/usr/share/$pkgname" && python2 $pkgname.py \$@
43 chmod +x "$pkgdir/usr/bin/$pkgname"
46 install -d "$pkgdir/usr/share/doc/$pkgname"
47 install -Dm644 docs/* "$pkgdir/usr/share/doc/$pkgname"
49 # desktop file and icon
50 install -Dm644 "$srcdir/$pkgname.desktop" \
51 "$pkgdir/usr/share/applications/$pkgname.desktop"
53 install -Dm644 "${pkgname}48.png" \
54 "$pkgdir/usr/share/pixmaps/$pkgname.png"
57 # vim:set ts=2 sw=2 et: