From de4bc263b169b4513fbdc6578bddd8f332deac7d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 18 Nov 2018 01:36:47 +0000 Subject: user/perl-http-headers-fast: new package --- user/perl-http-headers-fast/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-http-headers-fast/APKBUILD diff --git a/user/perl-http-headers-fast/APKBUILD b/user/perl-http-headers-fast/APKBUILD new file mode 100644 index 000000000..b7496496b --- /dev/null +++ b/user/perl-http-headers-fast/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-http-headers-fast +_pkgname=HTTP-Headers-Fast +pkgver=0.21 +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-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/T/TO/TOKUHIROM/HTTP-Headers-Fast-$pkgver.tar.gz" +builddir="$srcdir/HTTP-Headers-Fast-$pkgver" + +build() { + cd "$builddir" + perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor + ./Build +} + +check() { + cd "$builddir" + ./Build test +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="ce04b70f0748ee2d5911c772149b71c8c130d172267c11716151c1ca21b26e8c793af22227098d73a9253c9bfae57d618b6d67454c41862e2ba3a9798c067cf6 HTTP-Headers-Fast-0.21.tar.gz" -- cgit v1.2.3-70-g09d2