# Maintainer: Andrea Dalle Vacche _realname=List-MoreUtils pkgname=perl-${_realname} pkgver=0.430 pkgrel=2 pkgdesc="List::MoreUtils provides some trivial but commonly needed functionality on lists which is not going to go into List::Util" arch=('any') license=('GPL' 'PerlArtistic') url="https://metacpan.org/release/List-MoreUtils" depends=('perl' 'perl-Exporter-Tiny' 'perl-List-MoreUtils-XS') makedepends=('perl-devel') groups=('perl-modules') options=('!emptydirs') source=(https://www.cpan.org/authors/id/R/RE/REHSACK/${_realname}-${pkgver}.tar.gz) sha256sums=('63b1f7842cd42d9b538d1e34e0330de5ff1559e4c2737342506418276f646527') build() { cd ${_realname}-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { cd ${_realname}-${pkgver} make test } package() { cd ${_realname}-${pkgver} make DESTDIR="${pkgdir}" install }