diff options
Diffstat (limited to 'user/perl-json-xs/APKBUILD')
-rw-r--r-- | user/perl-json-xs/APKBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/user/perl-json-xs/APKBUILD b/user/perl-json-xs/APKBUILD index cd09f8f87..e3552f1f6 100644 --- a/user/perl-json-xs/APKBUILD +++ b/user/perl-json-xs/APKBUILD @@ -1,34 +1,34 @@ # Contributor: Dan Theisen <djt@hxx.in> -# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=perl-json-xs -pkgver=4.02 +_pkgreal=JSON-XS +_author=MLEHMANN +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=4.03 pkgrel=0 pkgdesc="JSON serialising/deserialising, done correctly and fast" url="https://metacpan.org/pod/JSON::XS" arch="all" -license="Artistic-1.0-Perl AND GPL-2.0" +license="Artistic-1.0-Perl OR GPL-1.0+" depends="perl perl-common-sense perl-types-serialiser" makedepends="perl-dev perl-canary-stability" -install="" subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-$pkgver.tar.gz" -builddir="$srcdir/JSON-XS-$pkgver" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" build() { - cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "$builddir" make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install 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" |