diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-21 15:56:17 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:59 -0500 |
commit | 5227da223958c247b5e95d6f12a88839313cb88c (patch) | |
tree | 8e27647c10368737e575de640c2d15e2d973ab22 /user/perl-test-warn | |
parent | 771a2f4e49e1426f47318270e3055b1422b96641 (diff) | |
download | packages-5227da223958c247b5e95d6f12a88839313cb88c.tar.gz packages-5227da223958c247b5e95d6f12a88839313cb88c.tar.bz2 packages-5227da223958c247b5e95d6f12a88839313cb88c.tar.xz packages-5227da223958c247b5e95d6f12a88839313cb88c.zip |
user/perl-test-warn: new package
Diffstat (limited to 'user/perl-test-warn')
-rw-r--r-- | user/perl-test-warn/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-warn/APKBUILD b/user/perl-test-warn/APKBUILD new file mode 100644 index 000000000..ad1ecf86d --- /dev/null +++ b/user/perl-test-warn/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=perl-test-warn +_pkgreal=Test-Warn +_author=BIGJ +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.36 +pkgrel=0 +pkgdesc="Test for warnings" +url="https://metacpan.org/pod/Test::Warn" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-1.0+" +depends="perl perl-sub-uplevel" +makedepends="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="f1f671d740267f8f360011ae1f2fede9894ad02e099f8fc9707d39a1bfec5507b113bb630e4dfeb56113e121b3ffeef8c7f112be5b201995fc21b3c2efdad2d2 Test-Warn-0.36.tar.gz" |