updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / perl-modern-perl / PKGBUILD
bloba7c04731fb80067936f2806ffeefe2876cae534e
1 # Contributor: Christian Sturm <reezer@reezer.org>
2 pkgname=perl-modern-perl
3 pkgver=1.20120119
4 pkgrel=1
5 pkgdesc="enable all of the features of Modern Perl with one command"
6 arch=(any)
7 url="http://search.cpan.org/dist/Modern-Perl/"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0')
10 options=(!emptydirs)
11 install=
12 source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/Modern-Perl-$pkgver.tar.gz)
13 md5sums=('143cfeaa98f1803bc1e02adf8097fc4a')
15 build() {
16   cd "$srcdir/Modern-Perl-$pkgver"
18   # for packages with Build.PL, do this instead:
19    perl Build.PL installdirs=vendor destdir="$pkgdir/"
20    perl Build
21    perl Build install
23   # remove perllocal.pod and .packlist
24   find "$pkgdir" -name perllocal.pod -delete
25   find "$pkgdir" -name .packlist -delete
28 # vim:set ts=2 sw=2 et: