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>
7 pkgname='perl-perl6-form'
10 pkgdesc="Implements the Perl 6 'form' built-in"
12 url='http://search.cpan.org/~dconway/Perl6-Form'
13 license=('GPL' 'PerlArtistic')
15 depends=('perl-perl6-export')
17 options=('!emptydirs')
18 source=('http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Perl6-Form-0.04.tar.gz')
21 cd "$srcdir/$_perlmod-$pkgver"
23 # Install module in vendor directories.
24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
27 ## For packages with Build.PL, do this instead:
28 # perl Build.PL installdirs=vendor destdir="$pkgdir/"
32 cd "$srcdir/$_perlmod-$pkgver"
36 cd "$srcdir/$_perlmod-$pkgver"
37 make install DESTDIR="$pkgdir/"
39 ## For packages with Build.PL, do this instead:
42 # remove perllocal.pod and .packlist
43 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
46 md5sums=('e3109dc701d99ed81f4d39a2605ac86a')