# Contributor: A. Wilcox # Maintainer: Síle Ekaterin Liszka pkgname=perl-list-compare _pkgreal=List-Compare _author=JKEENAN _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.55 pkgrel=0 pkgdesc="Compare elements of two or more Perl lists" url="https://metacpan.org/release/List-Compare" arch="noarch" license="Artistic-1.0-Perl OR GPL-1.0+" depends="perl perl-capture-tiny" 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="0f7e2325449298940f14b369b0c82c326c6e596123939285b8e7cce9cc36e8a78620eb4ff96594c55c26c1acecb46966d4d40eb5f591e76798614257c300d705 List-Compare-0.55.tar.gz"