20 lines
658 B
Plaintext
20 lines
658 B
Plaintext
# Description: Perl package that combines List::Util and List::MoreUtils in one bite-sized package
|
|
# URL: https://metacpan.org/pod/List::SomeUtils
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: p5-module-implementation
|
|
|
|
name=p5-list-someutils
|
|
version=0.59
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/List-SomeUtils-$version.tar.gz)
|
|
|
|
build() {
|
|
cd List-SomeUtils-$version
|
|
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
|
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
make DESTDIR=$PKG install
|
|
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
|
|
}
|