summaryrefslogtreecommitdiffstats
path: root/perl-ack/PKGBUILD
blob: 463514acac2d6a58a6436a1d770b445a833d5a5a (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
# Maintainer: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>

pkgname=perl-ack
_pkgname=ack
pkgver=1.92
pkgrel=1
pkgdesc='A grep-like tool tailored to working with large trees of source'
arch=('any')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_pkgname}"
depends=('perl>=5.10.0' 'perl-file-next')
options=(!emptydirs)

source=(http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/${_pkgname}-$pkgver.tar.gz)
md5sums=('c25b5a16d0a27386a75c91d531b86cea')

build() {
  cd $srcdir/${_pkgname}-$pkgver

  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1

  make  || return 1
}

package() {
  cd $srcdir/${_pkgname}-$pkgver

  make install DESTDIR=$pkgdir || return 1
}