updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-eval-withlexicals / PKGBUILD
blobfdfc0a9e6e98e929a60a5a372d2d4bfb3b24affd
1 # Contributor: Richard Shaw <richs@archlinux.us>
3 pkgname=perl-eval-withlexicals
4 _realname=Eval-WithLexicals
5 pkgver=1.001000
6 pkgrel=1
7 pkgdesc="Perl/CPAN Module Eval/WithLexicals.pm."
8 arch=('i686' 'x86_64')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 url="http://search.cpan.org/dist/Eval-WithLexicals/"
12 depends=('perl-moo' 'perl')
13 options=()
14 source=(http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/${_realname}-${pkgver}.tar.gz)
15 md5sums=('0f2899d0d1ffdfd5f2f20adcfab6fde6')
17 build() {
18   cd $startdir/src/${_realname}-$pkgver
19   perl Makefile.PL INSTALLDIRS=vendor || return 1
20   make  || return 1
21   make install DESTDIR=${startdir}/pkg || return 1
22   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete