blob: fae02c4f47162d51f8b4aa2c2d311d5d04c0f247 (
plain) (
tree)
|
|
# 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"
|