main/perl-test-harness: upgrade to 3.50

This commit is contained in:
Celeste 2024-08-15 03:45:48 +00:00 committed by Francesco Colista
parent 2fdf8815ad
commit f83e0978e2

View file

@ -1,11 +1,11 @@
# Automatically generated by apkbuild-cpan, template 3
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test-harness
pkgver=3.50
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test-Harness
pkgver=3.48
pkgrel=0
pkgdesc="Perl module for Test-Harness"
url="https://metacpan.org/release/Test-Harness/"
arch="noarch"
@ -17,7 +17,10 @@ builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
INSTALLDIRS=vendor \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
make
}
@ -28,7 +31,6 @@ check() {
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
utils() {
@ -49,5 +51,5 @@ doc() {
}
sha512sums="
7d65b48157ec7bc63553144f68e6233c07d21a4d127cefd5f77b2193c47f4d96325b15a9eb029ed62a19340f65659fcef0796ff7c6b07e5b5b8d539ddeee485c Test-Harness-3.48.tar.gz
5e05fbabe5c701616301b356319ecbc54701af88cf5ab1c60651faf51dcb15dd144895f4ce2f97811e47f47a2ac57a342d080b3e7c0b6901b789be16bd5061ed Test-Harness-3.50.tar.gz
"