blob: d5479edbbdefbb7656a5c983e354b4c6dd023202 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-params-validationcompiler
_pkgreal=Params-ValidationCompiler
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.31
pkgrel=0
pkgdesc="Perl subroutine parameter validator compiler"
url="https://metacpan.org/release/Params-ValidationCompiler"
arch="noarch"
license="Artistic-2.0"
depends="perl perl-class-xsaccessor perl-eval-closure perl-exception-class"
checkdepends="perl-specio perl-test-without-module perl-test2-suite
perl-test2-plugin-nowarnings"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="e3265cc6a5fc9761dd6ae82c3875711c5766242ab0f1edd74cc74296fdac22b6c23e48ba4768e895701ca8a00bd81677056713124b8edaa0b340eae1b33cf9c4 Params-ValidationCompiler-0.31.tar.gz"
|