diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 01:36:47 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 01:37:32 +0000 |
commit | de4bc263b169b4513fbdc6578bddd8f332deac7d (patch) | |
tree | e0c7f071657e0aea2f5a657f1f0b9176235fbc9f /user/perl-http-headers-fast/APKBUILD | |
parent | e9cb6d791ea25c5036d092e9e3493515b2b5b3aa (diff) | |
download | packages-de4bc263b169b4513fbdc6578bddd8f332deac7d.tar.gz packages-de4bc263b169b4513fbdc6578bddd8f332deac7d.tar.bz2 packages-de4bc263b169b4513fbdc6578bddd8f332deac7d.tar.xz packages-de4bc263b169b4513fbdc6578bddd8f332deac7d.zip |
user/perl-http-headers-fast: new package
Diffstat (limited to 'user/perl-http-headers-fast/APKBUILD')
-rw-r--r-- | user/perl-http-headers-fast/APKBUILD | 35 |
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" |