updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / perl-moosex-role-buildinstanceof / PKGBUILD
blob7e5a1a874f0e7158b088c9bd027754455309a764
1 # Contributor: Justin Davis <jrcd83@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 1.19
4 pkgname='perl-moosex-role-buildinstanceof'
5 pkgver='0.08'
6 pkgrel='1'
7 pkgdesc="Less Boilerplate when you need lots of Instances"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl-moosex-role-parameterized>=0.13')
12 makedepends=('perl-list-moreutils' 'perl-moose' 'perl-moosex-iterator' 'perl-moosex-types-path-class' 'perl-perl6-junction')
13 url='http://search.cpan.org/dist/MooseX-Role-BuildInstanceOf'
14 source=('http://search.cpan.org/CPAN/authors/id/J/JJ/JJNAPIORK/MooseX-Role-BuildInstanceOf-0.08.tar.gz')
15 md5sums=('c442cf9f9b1b51df171a7917eabc23f6')
16 sha512sums=('9a868fa3fd8a87631329703f5be20d7875dcc711c5f9fd6f6ea401923d53cb94797321413e6a1ddcd5995b05e84562ee1871efdb78fca2789c6ef88d8f0e6a6c')
17 _distdir="${srcdir}/MooseX-Role-BuildInstanceOf-0.08"
19 build() {
20   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
21       PERL_AUTOINSTALL=--skipdeps                            \
22       PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
23       PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24       MODULEBUILDRC=/dev/null
26     cd "$_distdir"
27     /usr/bin/perl Makefile.PL
28     make
29   )
32 check() {
33   cd "$_distdir"
34   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
35     make test
36   )
39 package() {
40   cd "$_distdir"
41   make install
42   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
45 # Local Variables:
46 # mode: shell-script
47 # sh-basic-offset: 2
48 # End:
49 # vim:set ts=2 sw=2 et: