aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-28 18:59:59 -0300
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-08-29 06:09:38 +0000
commit5a163b7c64e53695023ca223c90455098becd821 (patch)
tree3cced4c8d967ad3e3c0ef02f805e58c9e174bbaf
parent5591ab626572809480612a04008dddec3f9b587c (diff)
downloadaports-5a163b7c64e53695023ca223c90455098becd821.tar.gz
aports-5a163b7c64e53695023ca223c90455098becd821.tar.bz2
aports-5a163b7c64e53695023ca223c90455098becd821.tar.xz
main/perl-json: upgrade to 4.02
-rw-r--r--main/perl-json/APKBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/main/perl-json/APKBUILD b/main/perl-json/APKBUILD
index 2edb517543..709bf3891f 100644
--- a/main/perl-json/APKBUILD
+++ b/main/perl-json/APKBUILD
@@ -1,21 +1,21 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-json
_pkgreal=JSON
-pkgver=2.97000
+pkgver=4.02
pkgrel=0
pkgdesc="Perl module implementing a JSON encoder/decoder"
-url="http://search.cpan.org/dist/JSON/"
+url="https://metacpan.org/release/JSON"
arch="noarch"
-license="GPL PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
@@ -25,10 +25,10 @@ check() {
}
package() {
- cd "$builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
- find "$pkgdir" -name perllocal.pod -delete
- find "$pkgdir" -name .packlist -delete
+ find "$pkgdir" -name perllocal.pod -delete
+ find "$pkgdir" -name .packlist -delete
}
-sha512sums="7f11faa7a27fdaef65e252f3d7e7625108df733d0f49b4175fec8d71b5222de8c2deceb615bdce4d00bde20591dfb1f2a80f2b881cba50f1092933de255be0fa JSON-2.97000.tar.gz"
+sha512sums="4af44478cd1dac1755768e5211fe86f0086150157393ff2075def7cf6a394fe11e8e35f369f2abc0470373efc8021e941c59ace9a92dfcd50740f924c747d95a JSON-4.02.tar.gz"