# Maintainer : Erich Eckner # CPAN Name : Test::FailWarnings # Contributor: Anton Leontiev # Generator : CPANPLUS::Dist::Arch 1.28 pkgname=perl-test-failwarnings pkgver=0.008 pkgrel='2' pkgdesc='A Perl package that add test failures if warnings are caught' arch=('any') url='http://search.cpan.org/dist/Test-FailWarnings' license=('Apache') depends=( 'perl>=5.8.1' 'perl-carp' 'perl-pathtools' 'perl-test-simple>=0.86') makedepends=( 'perl-capture-tiny>=0.12' 'perl-constant' 'perl-extutils-makemaker>=6.17' 'perl-file-temp' 'perl-io' 'perl-lib' 'perl-scalar-list-utils' 'perl-test-simple>=0.96') checkdepends=('perl>=5.13.4' 'perl-capture-tiny>=0.12') _distdir="Test-FailWarnings-${pkgver}" source=(http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/${_distdir}.tar.gz) options=(!emptydirs) sha512sums=('7bffcc18191326095d99ad01be6426f4d9d927f769a156318f9abfea67da6adfecb657bad89390740c9f531fe69c717afa1d250258eed63d127bf10cbbf2bd51') build() { cd ${_distdir} PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd ${_distdir} make test } package() { cd ${_distdir} make install DESTDIR="$pkgdir" find "$pkgdir" -name .packlist -o -name perllocal.pod -delete }