blob: 2bc9f1a9415156f73739d411dc75d73f3023b7d1 (
plain)
1 # Description: A selection of general-utility list subroutines
2 # URL: https://metacpan.org/release/Scalar-List-Utils
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on:
5
6 name=p5-scalar-list-utils
7 version=1.63
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-$version.tar.gz)
10
11 build() {
12 cd Scalar-List-Utils-$version
13 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
14 PERL_AUTOINSTALL=--skipdeps \
15 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$PKG"'" \
16 PERL_MB_OPT="--installdirs vendor --destdir '"$PKG"'" \
17 MODULEBUILDRC=/dev/null
18 perl Makefile.PL
19 make
20 make install
21 find $PKG -name .packlist -o \
22 -name perllocal.pod -o \
23 -name README -o \
24 -name '*.bs' | xargs rm
25 rm -fr $PKG/usr/share/man
26 }
|