# Contributor: Dan Theisen # Maintainer: Síle Ekaterin Liszka pkgname=perl-algorithm-diff _pkgreal=Algorithm-Diff _author=RJBS _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=1.201 pkgrel=0 pkgdesc="Compute 'intelligent' differences between two files / lists" url="https://metacpan.org/pod/Algorithm::Diff" arch="noarch" license="Artistic-1.0-Perl AND GPL-2.0" depends="perl" 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="b22b55f4e45748da0e8aca556dc2155ef2dbcfe42ac5cbe4aa59e4cc13c95a141e6324a9ab0acd7fbc3d97e761e0778176df0f7e726af837a7b7d075106ad8d0 Algorithm-Diff-1.201.tar.gz"