From 2287dd2e212fd610e939bf2e1e2bc0faaf2f316e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 18 Nov 2018 01:43:09 +0000 Subject: user/perl-www-form-urlencoded: new package --- user/perl-www-form-urlencoded/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-www-form-urlencoded/APKBUILD (limited to 'user') 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2