summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 01:43:09 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 01:43:09 +0000
commit2287dd2e212fd610e939bf2e1e2bc0faaf2f316e (patch)
tree187ce395a637df27414c19f68d1728acd883afa4
parentde4bc263b169b4513fbdc6578bddd8f332deac7d (diff)
downloadpackages-2287dd2e212fd610e939bf2e1e2bc0faaf2f316e.tar.gz
packages-2287dd2e212fd610e939bf2e1e2bc0faaf2f316e.tar.bz2
packages-2287dd2e212fd610e939bf2e1e2bc0faaf2f316e.tar.xz
packages-2287dd2e212fd610e939bf2e1e2bc0faaf2f316e.zip
user/perl-www-form-urlencoded: new package
-rw-r--r--user/perl-www-form-urlencoded/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-www-form-urlencoded/APKBUILD b/user/perl-www-form-urlencoded/APKBUILD
new file mode 100644
index 000000000..fae02c4f4
--- /dev/null
+++ b/user/perl-www-form-urlencoded/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-www-form-urlencoded
+_pkgname=WWW-Form-UrlEncoded
+pkgver=0.25
+pkgrel=0
+pkgdesc="Perl library for URL-encoded HTTP forms"
+url="https://metacpan.org/release/WWW-Form-UrlEncoded"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends=""
+makedepends="perl-dev perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/WWW-Form-UrlEncoded-$pkgver.tar.gz"
+builddir="$srcdir/WWW-Form-UrlEncoded-$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="3d962434e6a104110412956a1523e1ca30462855665ebbfccbcd136f80aa788e835adf1472b5f94c1e6f177758c10bb4b06ea693ffd8ff5f262e731930e5a727 WWW-Form-UrlEncoded-0.25.tar.gz"