1 # Disc-Cover 1.5.6 by J.I. van Hemert
2 # Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
7 pkgdesc="Retrieves CDDB entries for a CD and creates a leaflet (/dev/cd -> xy.ps)"
9 url="http://www.vanhemert.co.uk/disc-cover.html"
10 license=('PerlArtistic' 'GPL')
16 'perl-audio-cd>=0.05-2'
18 optdepends=('ImagaMagick: for cover images')
19 options=(!emptydirs !zipman)
20 install="$pkgname.install"
21 source=(http://downloads.sourceforge.net/disc-cover/$pkgname-$pkgver.tar.gz)
24 msg "Building disc-cover..."
25 cd "$startdir/src/$pkgname-$pkgver"
26 sed -i "s/'latin1';/'utf8';/" disc-cover
27 sed -i "s/are, latin1/are utf8, latin1/" disc-cover
28 sed -i 's/"latin1";/"utf8";/' disc-cover
29 install -D -m 755 disc-cover $startdir/pkg/usr/bin/disc-cover
30 install -d -m 755 $startdir/pkg/usr/share/$pkgname/templates
31 install -m 644 templates/* $startdir/pkg/usr/share/$pkgname/templates
34 md5sums=('4d8cf0e644a9b311f7e6ed44944b9033')