# Contributor: Kiyoshi Aman # Maintainer: Natanael Copa pkgname=ack pkgver=3.0.0 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/$pkgname-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="2bf4e9719d8a5ec56c9d31acbcff647aece7b52ff7ffaacbfec56e59e30efb9ca7397fa379e13a9113a27abe47053261b9adb641b995d3e8579d459c0483fb45 ack-v3.0.0.tar.gz"