# Maintainer: Erich Eckner # Contributor: John D Jones III # Generator : CPANPLUS::Dist::Arch 1.27 pkgname='perl-devel-cover' pkgver=1.34 pkgrel=1 pkgdesc='Code coverage metrics for Perl' arch=('i686' 'pentium4' 'x86_64') license=('PerlArtistic' 'GPL') options=('!emptydirs') optdepends=( 'perl' 'perl-browser-open' 'perl-capture-tiny' 'perl-class-xsaccessor' 'perl-html-parser' 'perl-json-maybexs' 'perl-moo' 'perl-namespace-clean' 'perl-parallel-iterator' 'perl-perl-tidy' 'perl-pod-coverage' 'perl-ppi-html' 'perl-sereal-decoder' 'perl-sereal-encoder' 'perl-template-toolkit' 'perl-test-differences') makedepends=( 'perl-extutils-makemaker' 'perl-math-bigint' 'perl-test-simple>=0.88') depends=( 'perl>=5.6.1' 'perl-b-debug' 'perl-digest-md5' 'perl-html-parser>=3.69' 'perl-storable') provides=( 'perl-devel-cover-annotation-git=1.34' 'perl-devel-cover-annotation-random=1.34' 'perl-devel-cover-annotation-svk=1.34' 'perl-devel-cover-branch=1.34' 'perl-devel-cover-collection=1.34' 'perl-devel-cover-collection-template-provider=1.34' 'perl-devel-cover-condition=1.34' 'perl-devel-cover-condition_and_2=1.34' 'perl-devel-cover-condition_and_3=1.34' 'perl-devel-cover-condition_or_2=1.34' 'perl-devel-cover-condition_or_3=1.34' 'perl-devel-cover-condition_xor_4=1.34' 'perl-devel-cover-criterion=1.34' 'perl-devel-cover-db=1.34' 'perl-devel-cover-db-criterion=1.34' 'perl-devel-cover-db-digests=1.34' 'perl-devel-cover-db-file=1.34' 'perl-devel-cover-db-io=1.34' 'perl-devel-cover-db-io-base=1.34' 'perl-devel-cover-db-io-json=1.34' 'perl-devel-cover-db-io-sereal=1.34' 'perl-devel-cover-db-io-storable=1.34' 'perl-devel-cover-db-run=1.34' 'perl-devel-cover-db-structure=1.34' 'perl-devel-cover-html_common=1.34' 'perl-devel-cover-op=1.34' 'perl-devel-cover-pod=1.34' 'perl-devel-cover-report-compilation=1.34' 'perl-devel-cover-report-html=1.34' 'perl-devel-cover-report-html_basic=1.34' 'perl-devel-cover-report-html_basic-template-provider=1.34' 'perl-devel-cover-report-html_minimal=1.34' 'perl-devel-cover-report-html_subtle=1.34' 'perl-devel-cover-report-html_subtle-template-provider=1.34' 'perl-devel-cover-report-json=1.34' 'perl-devel-cover-report-sort=1.34' 'perl-devel-cover-report-text=1.34' 'perl-devel-cover-report-text2=1.34' 'perl-devel-cover-report-vim=1.34' 'perl-devel-cover-report-vim-template-provider=1.34' 'perl-devel-cover-statement=1.34' 'perl-devel-cover-subroutine=1.34' 'perl-devel-cover-test=1.34' 'perl-devel-cover-time=1.34' 'perl-devel-cover-truth_table=1.34' 'perl-devel-cover-truth_table-row=1.34' 'perl-devel-cover-util=1.34' 'perl-devel-cover-web=1.34') checkdepends=('perl-html-parser' 'perl-dbm-deep' 'perl-moo' 'perl-moose' 'perl-pod-coverage' 'perl-readonly') url='https://metacpan.org/pod/Devel::Cover' _perlName='Devel-Cover' source=("https://cpan.metacpan.org/authors/id/P/PJ/PJCJ/${_perlName}-${pkgver}.tar.gz") sha512sums=('b2091eb21455f4ad8da3a217f379c49b96491d7b1976dbd18a93cd69d714f7dddc2f63ff1127dd1b01107e342f93d50e760ff24f2699c088c12b8ad183107a3c') _distdir="${_perlName}-${pkgver}" prepare() { rm "$srcdir/$_distdir/t/internal/subprocess.t" } build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ PERL_AUTOINSTALL=--skipdeps \ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ MODULEBUILDRC=/dev/null cd "$srcdir/$_distdir" /usr/bin/perl Makefile.PL make ) } check() { cd "$srcdir/$_distdir" ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test ) } package() { cd "$srcdir/$_distdir" make install find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } # Local Variables: # mode: shell-script # sh-basic-offset: 2 # End: # vim:set ts=2 sw=2 et: