main/perl-cpanel-json-xs: upgrade to 4.38

This commit is contained in:
Celeste 2024-06-11 03:09:20 +00:00 committed by Francesco Colista
parent cc55e6688d
commit 7977531e31

View file

@ -1,10 +1,10 @@
# Automatically generated by apkbuild-cpan, template 3
# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-cpanel-json-xs
pkgver=4.38
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Cpanel-JSON-XS
pkgver=4.37
pkgrel=1
pkgdesc="cPanel fork of JSON::XS, fast and correct serializing"
url="https://metacpan.org/release/Cpanel-JSON-XS/"
arch="all"
@ -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,9 +31,8 @@ check() {
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
f1b5fc161711815f33b3e05a19111d9c94ef817c952eb3d317cb8bc3fd973acdb645a6b129cb21345dccf4a161de069f0ab2d3cb807e7f6b20ebe2527ef48978 Cpanel-JSON-XS-4.37.tar.gz
24b619b838e90bcaa106d9280e8ee926ada14353cf481b97baae110b45190ff3283beba7970061223da1870dea30278bd0bc566a8491b7c198058628ed9528ff Cpanel-JSON-XS-4.38.tar.gz
"