blob: 2aa8d9ad0ee203b03d4ea827432e0af2332662fb (
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
|
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ack
pkgver=2.02
pkgrel=0
pkgdesc="A Perl-powered replacement for grep"
url="http://betterthangrep.com/"
arch="noarch"
license="GPL"
depends="perl-file-next"
makedepends="perl-dev"
source="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="9ae2c3939d0f069c6781ee5b6de47c27 ack-2.02.tar.gz"
sha256sums="de5560f2ce6334f3f83bef4ee942fdb09b792f05cf534fe67be3cb0431bf758f ack-2.02.tar.gz"
sha512sums="437896ab928288b2446245c7e075fb23021398b931acbff116815db83cd06f593838c64d1dbbcdb41af06532dcf66879d29773b7cab96abcb7a8c60632840d45 ack-2.02.tar.gz"
|