# Contributor: Dan Theisen # Maintainer: Adélie Perl Team pkgname=perl-test-differences _pkgreal=Test-Differences _author=DCANTRELL _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.67 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="72f5e70d5ed953f50e7fff36645612b8e531354a217de5e7780ee76d72c95e1aed1f1f23a1aaf447b2893246d0c8d0452f2946afa820966d85b2c99dcf9b5ed9 Test-Differences-0.67.tar.gz"