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



                               
           



                                                     
                                       
                                                                              



                                                      

                                                                                        

         




                                                                              



                    



                                                                           
                                                                                                                                                                             
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-http-entity-parser
_pkgreal=HTTP-Entity-Parser
_author=KAZEBURO
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.25
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-1.0+"
depends="perl 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="760bff3ddd818ecb8eeeaee86c2d2bd895820b4011c306135b2d6eb3c2519322b3bd4e20098c9458c2fec7dd944384dcd33bfdd5b2d368a28270ac14e8dab54b  HTTP-Entity-Parser-0.25.tar.gz"