1 # Maintainer: Alexander Fehr <pizzapunk gmail com>
6 pkgdesc="GTK+ audio tag editor"
8 url="http://code.google.com/p/quodlibet/"
10 depends=('pygtk' 'mutagen')
11 makedepends=('intltool')
12 conflicts=('quodlibet')
13 source=(http://quodlibet.googlecode.com/files/quodlibet-$pkgver.tar.gz)
14 md5sums=('bf93b2945589d9b53cfb9fa854e56e97')
17 cd "$srcdir"/quodlibet-$pkgver
20 sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' exfalso.py quodlibet/util/fmps.py
22 python2 setup.py build
26 cd "$srcdir"/quodlibet-$pkgver
28 python2 setup.py install --root="$pkgdir"
30 install -D -m644 quodlibet/images/exfalso.png "$pkgdir"/usr/share/pixmaps/exfalso.png
33 rm -f "$pkgdir"/usr/bin/quodlibet
34 rm -f "$pkgdir"/usr/lib/python2.*/site-packages/quodlibet/_mmkeys.so
35 rm -f "$pkgdir"/usr/lib/python2.*/site-packages/quodlibet/_trayicon.so
36 rm -f "$pkgdir"/usr/share/applications/quodlibet.desktop
37 rm -f "$pkgdir"/usr/share/man/man1/quodlibet.1