# Description: Validate sub params against a spec
# URL: https://metacpan.org/pod/Params::Validate
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-module-implementation p5-module-build

name=p5-params-validate
version=1.31
release=1
source=(https://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-$version.tar.gz)

build() {
  cd Params-Validate-$version
  perl ./Build.PL --installdirs=vendor
  ./Build
  ./Build install --destdir=$PKG
  find $PKG -name .packlist -o \
    -name perllocal.pod -o \
    -name README -o \
    -name '*.bs' | xargs rm
}
