# Contributor: A. Wilcox # Maintainer: Adélie Perl Team pkgname=perl-list-someutils _pkgreal=List-SomeUtils _author=DROLSKY _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.58 pkgrel=0 pkgdesc="Provide the stuff missing in Perl's List::Util module" url="https://metacpan.org/release/List-SomeUtils" arch="noarch" license="Artistic-1.0-Perl" depends="perl-list-someutils-xs perl-module-implementation" checkdepends="perl-test-leaktrace" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="e45f05dbd82914bf804cc1ee00c808b6f8b4f2c80f852db55b3efb13cfe1601c34926e4c7966887a75ef49fd0fb2bd43adf48d12c72687464ece4e2b5a697ff4 List-SomeUtils-0.58.tar.gz"