1 # Maintainer: Jakob Nixdorf <flocke [swirly thing] shadowice [dot] org>
3 pkgname=perl-net-lastfm-submission
6 pkgdesc="Perl interface to the Last.fm Submissions Protocol"
7 depends=('perl>=5.10.0' 'glibc' 'perl-test-exception' 'perl-libwww' 'perl-poe-component-client-http')
8 license=('GPL' 'PerlArtistic')
9 url="http://search.cpan.org/dist/Net-LastFM-Submission"
10 source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHARIFULN/Net-LastFM-Submission-$pkgver.tar.gz)
11 md5sums=('0d39fded5d75ac2866ff0a14957683bb')
12 options=('!emptydirs')
17 cd ${srcdir}/Net-LastFM-Submission-$pkgver
19 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make DESTDIR=${pkgdir} install || return 1
23 # Remove .packlist and perllocal.pod files.
24 find ${pkgdir} -name '.packlist' -delete
25 find ${pkgdir} -name 'perllocal.pod' -delete