From 19e4340f3136fc42896a1970e184ce01390674d4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 26 Apr 2016 15:52:29 +0200 Subject: perl-test-failwarnings neu --- perl-test-failwarnings/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 perl-test-failwarnings/PKGBUILD diff --git a/perl-test-failwarnings/PKGBUILD b/perl-test-failwarnings/PKGBUILD new file mode 100644 index 00000000..e0edf03d --- /dev/null +++ b/perl-test-failwarnings/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer : Erich Eckner +# CPAN Name : Test::FailWarnings +# Contributor: Anton Leontiev +# Generator : CPANPLUS::Dist::Arch 1.28 + +pkgname=perl-test-failwarnings +pkgver=0.008 +pkgrel=1 +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.10.1') +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 +} -- cgit v1.2.3-70-g09d2