# Automatically generated by apkbuild-cpan, template 3 # Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname=perl-json-any #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=JSON-Any pkgver=1.39 pkgrel=0 pkgdesc="(DEPRECATED) Wrapper Class for the various JSON classes" url="https://metacpan.org/release/JSON-Any/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-dev" checkdepends=" perl-cpanel-json-xs perl-json-maybexs perl-json-xs perl-test-warnings perl-test-without-module perl-test-fatal perl-test-requires perl-yaml-syck " subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/JSON-Any-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" 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 } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" a4e9494ef650fe6f0144fddad49962e717470390b5783ab7bed6ef1c34fa7aa3d4f8699b9967ec8ca8813f43ee8c1d594e5af4d4962929791aa95b470104cd9b JSON-Any-1.39.tar.gz "