1 # CPAN Name : MooseX-LazyRequire
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator : CPANPLUS::Dist::Arch 1.04
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-moosex-lazyrequire/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-moosex-lazyrequire'
10 pkgdesc="Required attributes which fail only when trying to use them"
12 url='http://search.cpan.org/dist/MooseX-LazyRequire'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl' 'perl-aliased>=0.30' 'perl-moose' 'perl-moosex-types' 'perl-namespace-autoclean' 'perl-test-exception')
17 options=('!emptydirs')
19 source=('http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/MooseX-LazyRequire-0.06.tar.gz')
20 md5sums=('cd01a34702b8d1d11987ad9d8750216a')
23 DIST_DIR="${srcdir}/MooseX-LazyRequire-0.06"
24 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
25 PERL_AUTOINSTALL=--skipdeps \
26 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
27 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
28 MODULEBUILDRC=/dev/null
34 make DESTDIR="$pkgdir" install;
37 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete