1 # Contributor: Richard Shaw <richs@archlinux.us>
3 pkgname=perl-eval-withlexicals
4 _realname=Eval-WithLexicals
7 pkgdesc="Perl/CPAN Module Eval/WithLexicals.pm."
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 url="http://search.cpan.org/dist/Eval-WithLexicals/"
12 depends=('perl-moo' 'perl')
14 source=(http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/${_realname}-${pkgver}.tar.gz)
15 md5sums=('0f2899d0d1ffdfd5f2f20adcfab6fde6')
18 cd $startdir/src/${_realname}-$pkgver
19 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR=${startdir}/pkg || return 1
22 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete