# Contributor: Francesco Colista # Maintainer: Síle Ekaterin Liszka pkgname=perl-json-maybexs _pkgreal=JSON-MaybeXS _author=ETHER _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=1.004003 pkgrel=0 pkgdesc="Use with a fallback to and " url="https://metacpan.org/release/JSON-MaybeXS" arch="noarch" license="GPL-2.0-only OR Artistic-1.0-Perl" depends="perl-cpanel-json-xs" checkdepends="perl-test-needs perl-test-without-module" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="4690be671ea59f82ab24cc5c72d0f4a98a21f40d33c0acac853a2b15eac38933f7af3e1212ee6b5479d5e639246ebb5726c25e837996722fcfef7029dd5ed6fe JSON-MaybeXS-1.004003.tar.gz"