summaryrefslogtreecommitdiff
path: root/system/perl-test-nowarnings
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 18:51:59 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 18:51:59 -0500
commit6fd9cae1e01eea630c517d4a98a7e24fb5dc7bda (patch)
treea141f6050882088cdfe87f18ee1075db6987ebb8 /system/perl-test-nowarnings
parentd321ef2e20b9538494535bf5003645df3f3278ff (diff)
downloadpackages-6fd9cae1e01eea630c517d4a98a7e24fb5dc7bda.tar.gz
packages-6fd9cae1e01eea630c517d4a98a7e24fb5dc7bda.tar.bz2
packages-6fd9cae1e01eea630c517d4a98a7e24fb5dc7bda.tar.xz
packages-6fd9cae1e01eea630c517d4a98a7e24fb5dc7bda.zip
system/perl-test-nowarnings: pull in for perl-net-ssleay
Diffstat (limited to 'system/perl-test-nowarnings')
-rw-r--r--system/perl-test-nowarnings/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/system/perl-test-nowarnings/APKBUILD b/system/perl-test-nowarnings/APKBUILD
new file mode 100644
index 000000000..42adbdfb4
--- /dev/null
+++ b/system/perl-test-nowarnings/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-nowarnings
+pkgver=1.04
+pkgrel=2
+pkgdesc="Perl module to ensure no warnings occur during testing"
+url="http://search.cpan.org/dist/Test-NoWarnings/"
+arch="noarch"
+license="GPL-2.0-only OR Artistic-1.0-Perl"
+depends="perl perl-test-simple"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Test-NoWarnings-$pkgver.tar.gz"
+builddir="$srcdir"/Test-NoWarnings-$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="48126d2385e6f7863067f541763f64bc72132f6093f316f75d15ad7dca9b863dc469dff18c6e3f93105647844acb5cd10e4d056d3aa19217cb9588eb8a5f0d7a Test-NoWarnings-1.04.tar.gz"