summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-26 01:06:36 -0700
committerDan Theisen <djt@hxx.in>2018-09-26 01:06:36 -0700
commitc3d3e9508f8640bafb126d334b5f24ff5dbd23bd (patch)
tree5fd943de6618bef7eaea20875fde402e994df243
parenta376c4d74c1c3ded56f3f83e6b31d88fca8836a3 (diff)
downloadpackages-c3d3e9508f8640bafb126d334b5f24ff5dbd23bd.tar.gz
packages-c3d3e9508f8640bafb126d334b5f24ff5dbd23bd.tar.bz2
packages-c3d3e9508f8640bafb126d334b5f24ff5dbd23bd.tar.xz
packages-c3d3e9508f8640bafb126d334b5f24ff5dbd23bd.zip
user/perl-test-warnings: new package
-rw-r--r--user/perl-test-warnings/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-warnings/APKBUILD b/user/perl-test-warnings/APKBUILD
new file mode 100644
index 000000000..9b65d822e
--- /dev/null
+++ b/user/perl-test-warnings/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-warnings
+pkgver=0.026
+pkgrel=0
+pkgdesc="Test for warnings and the lack of them"
+url="https://metacpan.org/pod/Test::Warnings"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0"
+depends="perl"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-$pkgver.tar.gz"
+builddir="$srcdir/Test-Warnings-$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="510e182299173fa01482cde642fe5d84a77ea2f3b1761c7d8bf855caed963f276134357b4d7662bb3fbf09621ac6e11451fe19bf0ba2cf96bc841c280a624cd4 Test-Warnings-0.026.tar.gz"