aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-10-31 19:25:59 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-10-31 23:06:07 +0000
commitfc8bf72c8861a7e6d22ecafa0ca0a99984a38199 (patch)
tree17c1cb6529b452da324da2473aec7df59cc88d01
parentdc89258c3ecef03bf9041cd40669c04c008d4d9a (diff)
downloadaports-fc8bf72c8861a7e6d22ecafa0ca0a99984a38199.tar.gz
aports-fc8bf72c8861a7e6d22ecafa0ca0a99984a38199.tar.bz2
aports-fc8bf72c8861a7e6d22ecafa0ca0a99984a38199.tar.xz
community/perl-json-xs: upgrade to 4.03
-rw-r--r--community/perl-json-xs/APKBUILD28
1 files changed, 11 insertions, 17 deletions
diff --git a/community/perl-json-xs/APKBUILD b/community/perl-json-xs/APKBUILD
index f1cc240db3..e3adde35fa 100644
--- a/community/perl-json-xs/APKBUILD
+++ b/community/perl-json-xs/APKBUILD
@@ -1,35 +1,29 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=perl-json-xs
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=JSON-XS
-pkgver=4.02
-pkgrel=2
-pkgdesc="Perl extension to converts data structures to JSON and vice versa"
-url="https://metacpan.org/release/JSON-XS"
+pkgver=4.03
+pkgrel=0
+pkgdesc="Perl module for JSON-XS"
+url="https://metacpan.org/release/JSON-XS/"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
-cpandepends="perl-types-serialiser perl-common-sense perl-canary-stability"
-depends="$cpandepends"
-makedepends="perl-dev"
+depends="perl perl-types-serialiser perl-common-sense"
+makedepends="perl-dev perl-canary-stability"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-$pkgver.tar.gz"
-
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- default_prepare
-
- export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-}
-
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
@@ -38,4 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="4a8fdf8d81cdd6e38c3c5672621d38ef6f63a09ca3a74e98fbb21e679273c347d2a3b8c2233c8e813987d2728081fb535223ea3f705d33a7016b76d0e76ffd61 JSON-XS-4.02.tar.gz"
+sha512sums="7d2c20302b0f98bd69e692b61d272b58c13a79741f3e2e44ee0530e21dd239526477f8b02e4afbfe41ee83cb69ab1c5247bf0be355f3f09e9cfe31b2ea4a5155 JSON-XS-4.03.tar.gz"