mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 15:04:33 +02:00
36 lines
901 B
Text
36 lines
901 B
Text
# Contributor: Sheila Aman <sheila@vulpine.house>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=ack
|
|
pkgver=3.8.2
|
|
pkgrel=0
|
|
pkgdesc="Perl-powered replacement for grep"
|
|
url="https://beyondgrep.com/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="perl perl-file-next"
|
|
checkdepends="bash perl-yaml-pp"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/ack-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
options="!check" # checkdepends in community/
|
|
|
|
build() {
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
b643f888e96b96195cdbde205be862a9d862476797d14c3f2665e88ed9c990dba3eb9f73756a68a373541c348fd61f2bb3f69f07625dfa67d465f786f80abd94 ack-v3.8.2.tar.gz
|
|
"
|