# CPAN Name : List::AllUtils # Contributor: Anton Leontiev # Generator : CPANPLUS::Dist::Arch 1.29 pkgname=perl-list-allutils pkgver=0.19 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=('Artistic2.0') depends=('perl>=5.19.3' 'perl-list-moreutils>=0.28' 'perl-scalar-list-utils>=1.45' 'perl-list-someutils' 'perl-list-utilsby') checkdepends=('perl-test-warnings') source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-$pkgver.tar.gz) options=(!emptydirs) sha256sums=('30a8146ab21a7787b8c56d5829cf9a7f2b15276d3b3fca07336ac38d3002ffbc') 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 } check() { cd List-AllUtils-$pkgver unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT export PERL_MM_USE_DEFAULT=1 make test } 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 }