summaryrefslogtreecommitdiff
path: root/user/perl-http-headers-fast/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-http-headers-fast/APKBUILD')
-rw-r--r--user/perl-http-headers-fast/APKBUILD35
1 files changed, 35 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+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"