2 # Maintainer: sausageandeggs <sausageandeggs at archlinux.us>
7 pkgdesc="Software to play back audio files at a different speed or pitch. It does also allow you to loop over a certain part of a file."
9 url="http://29a.ch/playitslowly/"
11 depends=('python2' 'pygtk>=2.10' 'gstreamer0.10-python>=0.10' 'gstreamer0.10-good-plugins' 'gstreamer0.10-bad-plugins' 'hicolor-icon-theme')
12 install=$pkgname.install
13 source=(http://29a.ch/playitslowly/$pkgname-$pkgver.tar.gz)
15 cd $srcdir/$pkgname-$pkgver
16 sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" setup.py
20 cd $srcdir/$pkgname-$pkgver
21 python2 setup.py install --prefix $pkgdir/usr
23 sed -i "s|python|python2|" $pkgdir/usr/bin/playitslowly
24 sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" $pkgdir/usr/lib/python2.7/site-packages/playitslowly/app.py
27 md5sums=('238c1801e1f369293d34c3d4f8dcc589')