updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / playitslowly / PKGBUILD
blob72e9b36f3f920ea0df0b26136185c9037855cbb6
2 # Maintainer: sausageandeggs <sausageandeggs at archlinux.us>
4 pkgname=playitslowly
5 pkgver=1.4.0
6 pkgrel=1
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."
8 arch=('i686' 'x86_64')
9 url="http://29a.ch/playitslowly/"
10 license="GPL"
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)
14 build() {
15   cd $srcdir/$pkgname-$pkgver
16   sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" setup.py
19 package() {
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')