2 # Contributor: Todd Harbour <aur@quadronyx.org>
4 # Binary version available from: http://www.quadronyx.org/aur/
10 arch=('i686' 'x86_64')
11 pkgdesc="Command line script for burning audio CDs from MP3s, OGGs, FLACs and WAVs"
12 license=('GPL' 'PerlArtistic')
13 makedepends=('perl-config-simple')
14 depends=('perl' 'sox' 'cdrdao' 'gstreamer0.10' 'normalize')
15 optdepends=('oggdec:Ogg file decoding' 'flac:Flac file decoding')
16 url="http://outflux.net/unix/software/mp3cd/"
17 source=("$url/download/$pkgname-$pkgver.tar.gz")
18 md5sums=('c7f112cb420399b46cda21020b520207')
21 cd ${srcdir}/${pkgname}-${pkgver}
22 PERL_MM_USE_DEFAULT=1 perl Makefile.PL || return 1
25 # Gstreamer's gst-launch appears to be called gst-launch-0.10
26 sed -i 's/gst-launch/gst-launch-0.10/g' scripts/mp3cd
28 make install DESTDIR=${startdir}/pkg || return 1
29 find ${startdir}/pkg -name '.packlist' -delete
30 find ${startdir}/pkg -name '*.pod' -delete