updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / flacgain / PKGBUILD
blob74b8cd7ddc3d2ff69dc5e17f59849cb670f4e8c7
1 # Maintainer: Michael Duell <mail@akurei.me> PGP-Key: 6EE23EBE
2 pkgname=flacgain
3 pkgver=0.2
4 pkgrel=3
5 pkgdesc="FLAC Replay Gain script similar to mp3gain and vorbisgain that uses metaflac."
6 arch=('any')
7 url="http://projects.robinbowes.com/apply_replaygain/trac"
8 license=('GPL')
9 depends=('perl' 'flac')
10 source=(http://projects.robinbowes.com/download/apply_replaygain/apply_replaygain-${pkgver}.tar.gz
11         help.patch)
12 sha512sums=('46dcd81631a14c4b2fe873f01a29e8fa87d43eed7f37f9c663e1f9a99b9c00952873b68023640994ef513ff6841814ec4d9c1291fde7f7c23206d12896fd5fe8'
13             '55ac98f4ec1b285a7c2c5ce331abfaf076c6db2b9d5a765ce92cb647f33bd4d9b57b8f3f70fc241ba1619496e4790bf7a9c6c927d45a7b826c08b87ddd83853b')
15 package() {
16   cd "$srcdir"
17   tar xfz apply_replaygain-$pkgver.tar.gz
18   cd "$srcdir/apply_replaygain-$pkgver"
19   patch apply_replaygain.pl ../../help.patch
20   install -D -o root -g root -m 755 apply_replaygain.pl ${pkgdir}/usr/bin/flacgain
21   mkdir -p ${pkgdir}/usr/lib/perl5/vendor_perl/
22   mv lib/Audio ${pkgdir}/usr/lib/perl5/vendor_perl/
23   chown root:root -R ${pkgdir}/usr/lib/perl5/vendor_perl/Audio
26 # vim:set ts=2 sw=2 et: