summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:01:34 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:01:34 +0000
commitb1a89163431fac5a2d23d5b877d16d25a8174121 (patch)
treea995dbc8a7d1ce986f9ad766612a1c74ed6be483
parentb34de8b00a47547d8a05baf4d6ae6d1704262b61 (diff)
downloadpackages-b1a89163431fac5a2d23d5b877d16d25a8174121.tar.gz
packages-b1a89163431fac5a2d23d5b877d16d25a8174121.tar.bz2
packages-b1a89163431fac5a2d23d5b877d16d25a8174121.tar.xz
packages-b1a89163431fac5a2d23d5b877d16d25a8174121.zip
user/perl-http-multipartparser: new package
-rw-r--r--user/perl-http-multipartparser/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-http-multipartparser/APKBUILD b/user/perl-http-multipartparser/APKBUILD
new file mode 100644
index 000000000..cda615886
--- /dev/null
+++ b/user/perl-http-multipartparser/APKBUILD
@@ -0,0 +1,35 @@
+# 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"