summaryrefslogtreecommitdiff
path: root/user/perl-test-failwarnings
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-04-26 17:58:55 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-04-26 17:58:55 -0500
commit2d5749c0cfde29ccf0d7e660bec5a1fda07d66de (patch)
tree0df0028ff4ea8492a910ea1b9d3fc70897b632b7 /user/perl-test-failwarnings
parentb1cef51cb9e1d4cc1f778b05886e8a6c9781e3a9 (diff)
downloadpackages-2d5749c0cfde29ccf0d7e660bec5a1fda07d66de.tar.gz
packages-2d5749c0cfde29ccf0d7e660bec5a1fda07d66de.tar.bz2
packages-2d5749c0cfde29ccf0d7e660bec5a1fda07d66de.tar.xz
packages-2d5749c0cfde29ccf0d7e660bec5a1fda07d66de.zip
user/perl-test-failwarnings: new package
Diffstat (limited to 'user/perl-test-failwarnings')
-rw-r--r--user/perl-test-failwarnings/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-test-failwarnings/APKBUILD b/user/perl-test-failwarnings/APKBUILD
new file mode 100644
index 000000000..a31710567
--- /dev/null
+++ b/user/perl-test-failwarnings/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-failwarnings
+pkgver=0.008
+pkgrel=0
+pkgdesc="Perl module for failing tests on caught warnings"
+url="https://metacpan.org/pod/Test::FailWarnings"
+arch="noarch"
+license="Apache-2.0"
+depends="perl perl-capture-tiny"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-$pkgver.tar.gz"
+builddir="$srcdir/Test-FailWarnings-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="7bffcc18191326095d99ad01be6426f4d9d927f769a156318f9abfea67da6adfecb657bad89390740c9f531fe69c717afa1d250258eed63d127bf10cbbf2bd51 Test-FailWarnings-0.008.tar.gz"