# Automatically generated by apkbuild-cpan, template 3 # Contributor: Axel Ulrich # Maintainer: Axel Ulrich pkgname=perl-http-entity-parser #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=HTTP-Entity-Parser pkgver=0.25 pkgrel=0 pkgdesc="PSGI compliant HTTP Entity Parser" url="https://metacpan.org/release/HTTP-Entity-Parser/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-hash-multivalue perl-www-form-urlencoded perl-json-maybexs perl-stream-buffered perl-http-multipartparser" makedepends="perl-dev perl-module-build-tiny perl-module-build" checkdepends="perl-http-message" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/HTTP-Entity-Parser-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL --installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="760bff3ddd818ecb8eeeaee86c2d2bd895820b4011c306135b2d6eb3c2519322b3bd4e20098c9458c2fec7dd944384dcd33bfdd5b2d368a28270ac14e8dab54b HTTP-Entity-Parser-0.25.tar.gz"