summaryrefslogblamecommitdiff
path: root/user/perl-http-entity-parser/APKBUILD
blob: e4fd7abe76f94fc0668d578106fadb53509efd2d (plain) (tree)
1
2
3
4
5
6
7


                                                                   



                               










                                                                         

                                                                                        

         




                                                                              



                    




                                                                                                                                                                             
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-http-entity-parser
_pkgreal=HTTP-Entity-Parser
_author=KAZEBURO
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.21
pkgrel=0
pkgdesc="PSGI compliant HTTP entity parser for Perl"
url="https://metacpan.org/release/HTTP-Entity-Parser"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-hash-multivalue perl-http-multipartparser perl-json-maybexs
	perl-stream-buffered perl-www-form-urlencoded"
checkdepends="perl-http-message"
makedepends="perl-dev perl-module-build-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor
	./Build
}

check() {
	./Build test
}

package() {
	./Build install destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="3852741017748205d9e030a6a42d5a949e3497c5e119713d81c9bf6ee42f9a0a822e65f4be9b8785840b6e81841c7715d34aabcb9b8d950611ce528f702fffd1  HTTP-Entity-Parser-0.21.tar.gz"