# Contributor: Dan Theisen # Maintainer: Síle Ekaterin Liszka pkgname=perl-test-differences _pkgreal=Test-Differences _author=DCANTRELL _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.71 pkgrel=0 pkgdesc="Test strings and data structures and show differences if not ok" url="https://metacpan.org/pod/Test::Differences" arch="noarch" license="Artistic-1.0-Perl OR GPL-1.0" depends="perl perl-text-diff perl-capture-tiny perl-test-pod-coverage perl-test-pod" 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="6e6c882b41dd25cbb91d28ec947e669f660df0d8e477a347237a39eba51c74c9e8bcabe8ffccaec7d5912c62cf6ae837e2d2f28551bd9fc110d9503acc86e72e Test-Differences-0.71.tar.gz"