# Contributor: Kiyoshi Aman # Maintainer: Natanael Copa pkgname=ack pkgver=2.28 pkgrel=0 pkgdesc="A Perl-powered replacement for grep" url="https://beyondgrep.com/" arch="noarch" license="Artistic-2.0" depends="perl-file-next perl" makedepends="perl-dev" checkdepends="bash" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="04ad599b644ff2cb07abe687f99286f14ddd0628458ac88dea0124d8487792824af470a60718c21be5930083830b463385e13927cc4a680ff34be133256c0f8a ack-2.28.tar.gz"