diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 02:03:20 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-11-18 02:03:59 +0000 |
commit | 4290b70f4cdd9244438c0015a7320a81fb36572e (patch) | |
tree | 10690929b3d684893050df8599c5584bc381b7c7 /user/perl-http-entity-parser/APKBUILD | |
parent | b1a89163431fac5a2d23d5b877d16d25a8174121 (diff) | |
download | packages-4290b70f4cdd9244438c0015a7320a81fb36572e.tar.gz packages-4290b70f4cdd9244438c0015a7320a81fb36572e.tar.bz2 packages-4290b70f4cdd9244438c0015a7320a81fb36572e.tar.xz packages-4290b70f4cdd9244438c0015a7320a81fb36572e.zip |
user/perl-http-entity-parser: new package
Diffstat (limited to 'user/perl-http-entity-parser/APKBUILD')
-rw-r--r-- | user/perl-http-entity-parser/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/perl-http-entity-parser/APKBUILD b/user/perl-http-entity-parser/APKBUILD new file mode 100644 index 000000000..f42d3f7a5 --- /dev/null +++ b/user/perl-http-entity-parser/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-http-entity-parser +_pkgname=HTTP-Entity-Parser +pkgver=0.21 +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-2.0-only" +depends="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/K/KA/KAZEBURO/HTTP-Entity-Parser-$pkgver.tar.gz" +builddir="$srcdir/HTTP-Entity-Parser-$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="3852741017748205d9e030a6a42d5a949e3497c5e119713d81c9bf6ee42f9a0a822e65f4be9b8785840b6e81841c7715d34aabcb9b8d950611ce528f702fffd1 HTTP-Entity-Parser-0.21.tar.gz" |