blob: 902196fd41e6d30daba47b585f3c05dddf5230ca (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-params-validate
_pkgreal=Params-Validate
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.29
pkgrel=0
pkgdesc="Validate Perl method/function parameters"
url="https://metacpan.org/release/Params-Validate"
arch="all"
license="Artistic-2.0"
depends="perl perl-module-implementation"
checkdepends="perl-test-fatal perl-test-requires"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
perl Build.PL installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="afa887d1ce60d38b82cbf3ad88fb892f473e0fa45db528b68e66bbb800058af453180cc96afddae56a2cdad8ec531a587e7aac36b6869c489caa6dd36a57a385 Params-Validate-1.29.tar.gz"
|