updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-audio-scrobbler / PKGBUILD
blob7921994344abc26ce5d13ee3fa4053aed34f22f8
1 # Maintainer: Jakob Nixdorf <flocke [swirly thing] user-helfen-usern [dot] de>
3 pkgname=perl-audio-scrobbler
4 pkgver=0.01
5 pkgrel=1
6 pkgdesc="Perl interface to audioscrobbler.com/last.fm"
7 depends=('perl>=5.10.0' 'glibc' 'perl-config-inifiles' 'perl-libwww')
8 license=('GPL' 'PerlArtistic')
9 url="http://search.cpan.org/dist/Audio-Scrobbler"
10 source=(http://search.cpan.org/CPAN/authors/id/R/RO/ROAM/Audio-Scrobbler-$pkgver.tar.gz)
11 md5sums=('514202239941199ba959e1d68167db6c')
12 options=('force' '!emptydirs')
13 arch=(i686 x86_64)
15 build()
17   cd ${srcdir}/Audio-Scrobbler-$pkgver
19   perl Makefile.PL INSTALLDIRS=vendor || return 1
20   make || return 1
21   make DESTDIR=${pkgdir} install || return 1
22   
23   # Remove .packlist and perllocal.pod files.
24   find ${pkgdir} -name '.packlist' -delete
25   find ${pkgdir} -name 'perllocal.pod' -delete