# Description: Provide the stuff missing in List::Util
# URL: https://metacpan.org/pod/List::MoreUtils::XS
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:

name=p5-list-moreutils-xs
version=0.430
release=1
source=(https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-XS-$version.tar.gz)

build() {
  cd List-MoreUtils-XS-$version
  perl Makefile.PL INSTALLDIRS=vendor
  make
  make DESTDIR=$PKG install
  find $PKG -name .packlist -o \
    -name perllocal.pod -o \
    -name README -o \
    -name '*.bs' | xargs rm
}
