26 lines
796 B
Plaintext
26 lines
796 B
Plaintext
# Description: Parse and validate simple name/value option pairs
|
|
# URL: https://metacpan.org/release/Data-OptList
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: p5-params-util p5-scalar-list-utils p5-sub-install
|
|
|
|
name=p5-data-optlist
|
|
version=0.114
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Data-OptList-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Data-OptList-$version
|
|
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
|
|
PERL_AUTOINSTALL=--skipdeps \
|
|
PERL_MM_OPT="INSTALLDIRS=vendor" \
|
|
PERL_MB_OPT="--installdirs vendor" \
|
|
MODULEBUILDRC=/dev/null
|
|
/usr/bin/perl Makefile.PL
|
|
make
|
|
make DESTDIR=$PKG install
|
|
find $PKG -name .packlist -o \
|
|
-name perllocal.pod -o \
|
|
-name README -o \
|
|
-name '*.bs' | xargs rm
|
|
}
|