aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-cpanel-json-xs
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-07 05:19:23 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-07 05:25:10 +0100
commit643b01e318b9cf5d6376291a17035abca4d3d5f5 (patch)
tree1069028df76fc7f5dfd0e47500c5bec856b18f14 /main/perl-cpanel-json-xs
parent03dd531dee8796782e6bfd4fbafdca2beec71082 (diff)
downloadaports-643b01e318b9cf5d6376291a17035abca4d3d5f5.tar.bz2
aports-643b01e318b9cf5d6376291a17035abca4d3d5f5.tar.xz
main/perl-cpanel-json-xs: upgrade to 4.19
Diffstat (limited to 'main/perl-cpanel-json-xs')
-rw-r--r--main/perl-cpanel-json-xs/APKBUILD11
1 files changed, 3 insertions, 8 deletions
diff --git a/main/perl-cpanel-json-xs/APKBUILD b/main/perl-cpanel-json-xs/APKBUILD
index 8925607a69..44d9e5ea3b 100644
--- a/main/perl-cpanel-json-xs/APKBUILD
+++ b/main/perl-cpanel-json-xs/APKBUILD
@@ -2,40 +2,35 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-cpanel-json-xs
_pkgreal=Cpanel-JSON-XS
-pkgver=4.18
+pkgver=4.19
pkgrel=0
pkgdesc="JSON::XS for Cpanel, fast and correct serialising, also for 5.6.2"
url="https://metacpan.org/release/Cpanel-JSON-XS"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
-cpanmakedepends="perl-json perl-test-leaktrace"
depends="perl"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev perl-json perl-test-leaktrace"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
check() {
- cd "$builddir"
make test
}
prepare() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="3a86b948e6fac25376382da5b8acf70db9ce3eff14c3cd6fbd8f018dd04102135ae799c39dc06bca3cb21201944462fe62e44ae5ebd3d03838ebdaae576890de Cpanel-JSON-XS-4.18.tar.gz"
+sha512sums="c67b62e8f95900cb3626357cfa9976f1553f84ffd10a977d47839ca3b317014473c3a6e48f6680478b89bbdc2ac177b22441ad5e49e7e8eb0344ef14a3c52b10 Cpanel-JSON-XS-4.19.tar.gz"