blob: 374c6241a5b0e2c0d8e73a956b6f2b8ee2db5b7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ack
pkgver=3.3.1
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() {
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="7f0a5cc55b331f69877d186699e2fab64a196b0ea0fd148699b7be5f9a7bb2850ecf9e45dc026325af8407a37f719faf3f3e314c43e48d575b3685087461addd ack-v3.3.1.tar.gz"
|