# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-http-headers-fast _pkgreal=HTTP-Headers-Fast _author=TOKUHIROM _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.22 pkgrel=0 pkgdesc="Fast HTTP header parsing for Perl" url="https://metacpan.org/release/HTTP-Headers-Fast" arch="noarch" license="Artistic-1.0-Perl OR GPL-2.0-only" depends="perl perl-http-date" checkdepends="perl-test-requires perl-uri" 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="60435c11b5846c1a6256227c7edb00fd444c76346797424f186f971c5bebec93b1c84be805e0a4589c92b8c571d0c3e0332436b21ad099677a31544305d819b2 HTTP-Headers-Fast-0.22.tar.gz"