1 # Maintainer: TDY <tdy@gmx.com>
6 pkgdesc="An advanced music jukebox with a console interface"
8 url="http://www.luga.de/pytone/"
10 depends=('mutagen' 'pyao' 'pymad' 'python-pysqlite' 'pyvorbis')
11 optdepends=('python-xmms>=2.00: external xmms support'
12 'mpg123: external mpg123 support'
13 'mpg321: external mpg321 support')
14 backup=('etc/pytonerc')
15 source=(http://www.luga.de/pytone/download/PyTone-$pkgver.tar.gz)
16 md5sums=('6bac77054efd47672f97b4f022a1d073')
19 cd "$srcdir/PyTone-$pkgver"
20 sed -i 's#src#/usr/lib/python2.6/site-packages/pytone#' pytone{,ctl}
21 python setup.py build_ext -i || return 1
25 cd "$srcdir/PyTone-$pkgver"
26 python setup.py install --prefix=/usr --root="$pkgdir"
27 install -Dm644 conf/pytonerc "$pkgdir/etc/pytonerc"
28 install -Dm644 README "$pkgdir/usr/share/doc/pytone/README"