summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-26 15:52:29 +0200
committerErich Eckner <git@eckner.net>2016-04-26 15:52:29 +0200
commit19e4340f3136fc42896a1970e184ce01390674d4 (patch)
tree376df62b1b2b7f1fa114da222513aecbd0bbcadb
parent4fbc0f6f10135d4235b66dcac493e298527756dc (diff)
downloadarchlinuxewe.git.save-19e4340f3136fc42896a1970e184ce01390674d4.tar.xz
perl-test-failwarnings neu
-rw-r--r--perl-test-failwarnings/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
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 <arch at eckner dot net>
+# CPAN Name : Test::FailWarnings
+# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+# 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
+}