aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-test-warn
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2018-01-06 16:32:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-02-27 17:43:24 +0000
commit6992ce388c4c443a5ed7221b4a3a1c6236ed15c8 (patch)
treed854b124c60ac0d323e76b598672e51f1f80d888 /testing/perl-test-warn
parent26afc0b30322d1b21eaa59746e0c6c63f26ab23c (diff)
downloadaports-6992ce388c4c443a5ed7221b4a3a1c6236ed15c8.tar.bz2
aports-6992ce388c4c443a5ed7221b4a3a1c6236ed15c8.tar.xz
testing/perl-test-warn: new aport
Diffstat (limited to 'testing/perl-test-warn')
-rw-r--r--testing/perl-test-warn/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/perl-test-warn/APKBUILD b/testing/perl-test-warn/APKBUILD
new file mode 100644
index 0000000000..4d8732702e
--- /dev/null
+++ b/testing/perl-test-warn/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=perl-test-warn
+_realname=Test-Warn
+pkgver=0.32
+pkgrel=0
+pkgdesc="Convenience methods for testing warning based code"
+url="http://chorny.net/"
+arch="noarch"
+license="PerlArtistic"
+depends=""
+makedepends="perl-dev"
+checkdepends="perl-sub-uplevel"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/B/BI/BIGJ/$_realname-$pkgver.tar.gz"
+builddir="$srcdir/$_realname-$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="a14d6a87cfa19d54a3055b3c94143b95788ed2a30b2813d952255891a84165f0baf8b9cad167c8d5c87870220aaeeedcfe48db73246966be6aea41ad26779e6a Test-Warn-0.32.tar.gz"