# Contributor: Kiyoshi Aman # Maintainer: Natanael Copa pkgname=ack pkgver=3.1.3 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="https://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/ack-v$pkgver.tar.gz" builddir="$srcdir/$pkgname-v$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="0e1ac27abf83428c00196a8def10eb953095a0bcee6df5707acd77a1787ad0dbb7bde18f252356dff2e2321c6e237ff7c02b64ee59c4d4dd8d82181739f63b52 ack-v3.1.3.tar.gz"