1 # Contributor: Anonymous
2 # Generator : CPANPLUS::Dist::Arch 1.12
4 pkgname='perl-test-mockmodule'
7 pkgdesc="Override subroutines in a module for unit testing"
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
13 url='http://search.cpan.org/dist/Test-MockModule'
14 source=('http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/Test-MockModule-0.05.tar.gz')
15 md5sums=('1b013aeeb221f83e7f325a2f98169296')
16 _distdir="${srcdir}/Test-MockModule-0.05"
19 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
20 PERL_AUTOINSTALL=--skipdeps \
21 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
22 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
23 MODULEBUILDRC=/dev/null
26 /usr/bin/perl Makefile.PL
33 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
41 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
48 # vim:set ts=2 sw=2 et: