diff options
Diffstat (limited to 'user/perl-www-form-urlencoded/APKBUILD')
-rw-r--r-- | user/perl-www-form-urlencoded/APKBUILD | 34 |
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" |