blob: c0980c7c36331776fea0ca3f37820c4490d5ddb1 (
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
32
|
# Maintainer: Florian Pritz <flo@xinu.at>
# Contributor: TDY <tdy@gmx.com>
# Contributor: Michael S. Walker <barrucadu@localhost>
pkgname=ack
pkgver=3.8.1
pkgrel=1
pkgdesc="A Perl-based grep replacement, aimed at programmers with large trees of heterogeneous source code"
arch=('any')
url="http://betterthangrep.com/"
license=('GPL' 'PerlArtistic')
depends=('perl-file-next')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/$pkgname-v$pkgver.tar.gz")
md5sums=('e5846c61c92fc98b70f0c28bf390d930')
sha256sums=('1c03ab46f4922a0bd2462f4cf7eeb3cb4b4e6d43cebd3cfcf3a2e132319eb88e')
build() {
cd "$srcdir/$pkgname-v$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$srcdir/$pkgname-v$pkgver"
make test
}
package() {
cd "$srcdir/$pkgname-v$pkgver"
make DESTDIR="$pkgdir" install
}
|