# Maintainer: Jesus E. pkgname=perl-list-allutils pkgver=0.18 pkgrel=1 pkgdesc='Perl package that combines List::Util and List::MoreUtils in one bite-sized package' arch=('any') url='https://search.cpan.org/dist/List-AllUtils' license=('Artistic-2.0') depends=("perl>=5.19.3" "perl-list-moreutils>=0.28" 'perl-list-someutils' 'perl-list-utilsby') source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-$pkgver.tar.gz) options=(!emptydirs) sha512sums=('b2cc560a070f36c339c12c17a17a958f3e9ad40b1981a2631c56c838703c9a9b06fd8bf02ced797cf581215b321faf6c281e5b87368a25515855327bd92db08f') build() { cd List-AllUtils-$pkgver unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps /usr/bin/perl Makefile.PL INSTALLDIRS=vendor make } package() { cd List-AllUtils-$pkgver unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT make install DESTDIR="$pkgdir" find "$pkgdir" -name .packlist -o -name perllocal.pod -delete install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/" }