aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-11-15 02:57:43 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-11-15 10:06:57 +0000
commit43caa4feb4038478b21e2740281e5fc9f04cf18f (patch)
treef7412fbabb92166ca8635eb59069a89661511e26
parent65e15c7e2c370c6f951f1ebbaa2b9c1d37f131c0 (diff)
downloadaports-43caa4feb4038478b21e2740281e5fc9f04cf18f.tar.gz
aports-43caa4feb4038478b21e2740281e5fc9f04cf18f.tar.bz2
aports-43caa4feb4038478b21e2740281e5fc9f04cf18f.tar.xz
main/perl-json-maybexs: upgrade to 1.004003
-rw-r--r--main/perl-json-maybexs/APKBUILD26
1 files changed, 12 insertions, 14 deletions
diff --git a/main/perl-json-maybexs/APKBUILD b/main/perl-json-maybexs/APKBUILD
index aff86f9f2a..ef9eb93603 100644
--- a/main/perl-json-maybexs/APKBUILD
+++ b/main/perl-json-maybexs/APKBUILD
@@ -1,31 +1,29 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-json-maybexs
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=JSON-MaybeXS
-pkgver=1.004002
-pkgrel=1
+pkgver=1.004003
+pkgrel=0
pkgdesc="Use L<Cpanel::JSON::XS> with a fallback to L<JSON::XS> and L<JSON::PP>"
url="https://metacpan.org/release/JSON-MaybeXS/"
arch="noarch"
-license="GPL PerlArtistic"
-depends="perl-cpanel-json-xs"
-makedepends="perl-dev perl-test-without-module perl-test-needs"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
+checkdepends="perl-test-needs"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/JSON-MaybeXS-$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
}
@@ -34,4 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="5e8965323051f34e8b0f2ad9ed2eb7ec05a6479112c1c56c450f7d3224e82bf382f643e897c33f11218e2fb7d8807ad3c5306f83b7eb53081602d9d8fafc4fbe JSON-MaybeXS-1.004002.tar.gz"
+sha512sums="4690be671ea59f82ab24cc5c72d0f4a98a21f40d33c0acac853a2b15eac38933f7af3e1212ee6b5479d5e639246ebb5726c25e837996722fcfef7029dd5ed6fe JSON-MaybeXS-1.004003.tar.gz"