contrib/p5-params-util/Pkgfile

23 lines
631 B
Plaintext
Raw Normal View History

# Description: Simple, compact and correct param-checking functions
# URL: https://metacpan.org/release/Params-Util
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:
name=p5-params-util
version=1.07
release=1
source=(https://cpan.metacpan.org/authors/id/A/AD/ADAMK/Params-Util-$version.tar.gz)
build() {
cd Params-Util-$version
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
unset PERL5LIB PERL_MM_OPT
/usr/bin/perl Makefile.PL
make
make install INSTALLDIRS=vendor DESTDIR=$PKG
find $PKG -name .packlist -o \
-name perllocal.pod -o \
-name README -o \
-name '*.bs' | xargs rm
}