main/perl-uri: upgrade to 5.26

This commit is contained in:
Celeste 2024-02-03 07:57:14 +00:00 committed by Natanael Copa
parent 4bcc45e616
commit c0c7dae2e7

View File

@ -1,10 +1,10 @@
# Automatically generated by apkbuild-cpan, template 3
# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-uri
pkgver=5.26
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=URI
pkgver=5.25
pkgrel=0
pkgdesc="Uniform Resource Identifiers (absolute and relative)"
replaces="perl-uri-escape"
url="https://metacpan.org/release/URI/"
@ -18,7 +18,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
}
@ -29,9 +32,8 @@ check() {
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
bac44316aa52fd840d9e06f8223138ef192ffc5fe900573f13a115860e1dd2a56e758b3f8fd932193982a772f76ecae308207c7473b274f4f7ecb230ec4231e2 URI-5.25.tar.gz
c493096bc7b83789eb7f9b975e33611c585e362278c37567fde7eeedcc139660100e1b7ed21f6b517c4455a91a291af12ff3ee4e5c20c25132637985fd648daa URI-5.26.tar.gz
"