diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-07-29 11:38:54 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-07-29 11:38:54 +0000 |
commit | e83365468300aeb223e7a668d7f07de10573ec94 (patch) | |
tree | 86ad44be223b6282dc57ffccefbea66dacc73e27 /testing/perl-json-xs | |
parent | b82dfc2555edb5706ca95ae33dd0e8c128a906d5 (diff) | |
download | aports-e83365468300aeb223e7a668d7f07de10573ec94.tar.bz2 aports-e83365468300aeb223e7a668d7f07de10573ec94.tar.xz |
testing/perl-json-xs: upgrade to 3.03
Diffstat (limited to 'testing/perl-json-xs')
-rw-r--r-- | testing/perl-json-xs/APKBUILD | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/testing/perl-json-xs/APKBUILD b/testing/perl-json-xs/APKBUILD index d6c29018bb..098452a3b6 100644 --- a/testing/perl-json-xs/APKBUILD +++ b/testing/perl-json-xs/APKBUILD @@ -3,39 +3,37 @@ # Maintainer: Valery Kartel <valery.kartel@gmail.com> pkgname=perl-json-xs _pkgreal=JSON-XS -pkgver=3.01 -pkgrel=3 +pkgver=3.03 +pkgrel=0 pkgdesc="Perl extension to converts data structures to JSON and vice versa" url="http://search.cpan.org/dist/JSON-XS/" arch="all" license="GPL PerlArtistic" -cpandepends="perl-types-serialiser perl-common-sense" +cpandepends="perl-types-serialiser perl-common-sense perl-canary-stability" cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make && make test } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="b7be65295baf6dd9233c6494782c1153 JSON-XS-3.01.tar.gz" -sha256sums="4e8df3256a5aa9ed304ce1bbcd9140737deef31ba847bff9f4c15480c88c71ab JSON-XS-3.01.tar.gz" -sha512sums="75acc0d1b8a916ff1ef08466357e77159f1c53a0e021f93a066f745bf3a67dbf18342fb7f1d8666f2ff2c54a0257ea8a9ce6efc8ce2eeefa81689d406f667733 JSON-XS-3.01.tar.gz" +sha512sums="757dc3bff01860d348e3bbb0c68ddef6a80e25f74b812b1969e57f4284724fc92828014c059a91c232ba100b5c96d41257272900db48395b484d6eeb540c5db8 JSON-XS-3.03.tar.gz" |