1 # vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
2 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
6 _perlmod=Linux-Distribution-Packages
7 pkgname=perl-linux-distribution-packages
10 pkgdesc='Linux::Distribution::Packages - list all packages on various Linux distributions'
12 url="http://search.cpan.org/~judith/Linux-Distribution-Packages/"
13 license=('GPL' 'PerlArtistic')
16 'perl-linux-distribution'
28 "http://cpan.perl.org/modules/by-authors/id/$_author/$_perlmod-$pkgver.tar.gz"
34 cd "$srcdir/$_perlmod-$pkgver"
36 # Install module in vendor directories.
37 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
38 patch -p0 < ../arch.patch
41 ## For packages with Build.PL, do this instead:
42 # perl Build.PL installdirs=vendor destdir="$pkgdir/"
46 cd "$srcdir/$_perlmod-$pkgver"
50 cd "$srcdir/$_perlmod-$pkgver"
51 make install DESTDIR="$pkgdir/"
53 ## For packages with Build.PL, do this instead:
56 # remove perllocal.pod and .packlist
57 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
59 md5sums=('a71d8564687e38b5909267f5dedba3d9'
60 'dca270800da2f57bc766b104a3246411')