Skip to content
Snippets Groups Projects
Verified Commit b1a89163 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

user/perl-http-multipartparser: new package

parent b34de8b0
No related branches found
No related tags found
No related merge requests found
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-http-multipartparser
_pkgname=HTTP-MultiPartParser
pkgver=0.02
pkgrel=0
pkgdesc="Perl module for parsing multi-part HTTP responses"
url="https://metacpan.org/release/HTTP-MultiPartParser"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends=""
checkdepends="perl-test-deep"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/C/CH/CHANSEN/HTTP-MultiPartParser-$pkgver.tar.gz"
builddir="$srcdir/HTTP-MultiPartParser-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="72a9e92821dae04be63f12b3bbcd22dfbc11ff72ff31b48f2e2bd8fe3095c9cb7992f31deeb1284d7f9986cbcd854f8a21c2110c1d04bd4c3b66307c9d86945d HTTP-MultiPartParser-0.02.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment