blob: d70e74264ffad8208d1ea82dc746f1d59367571e (
plain)
1 # Description: Parse and validate simple name/value option pairs
2 # URL: https://metacpan.org/release/Data-OptList
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: p5-params-util p5-scalar-list-utils p5-sub-install
5
6 name=p5-data-optlist
7 version=0.113
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Data-OptList-$version.tar.gz)
10
11 build() {
12 cd Data-OptList-$version
13 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
14 PERL_AUTOINSTALL=--skipdeps \
15 PERL_MM_OPT="INSTALLDIRS=vendor" \
16 PERL_MB_OPT="--installdirs vendor" \
17 MODULEBUILDRC=/dev/null
18 /usr/bin/perl Makefile.PL
19 make
20 make DESTDIR=$PKG install
21 find $PKG -name .packlist -o \
22 -name perllocal.pod -o \
23 -name README -o \
24 -name '*.bs' | xargs rm
25 }
|