desktop/ack/PKGBUILD
2015-12-19 11:25:45 +01:00

25 lines
635 B
Bash

pkgname=ack
pkgver=2.15.02
ver=2.15_02
pkgrel=1
pkgdesc="A Perl-based grep replacement, aimed at programmers with large trees of heterogeneous source code"
arch=('x86_64')
url="http://betterthangrep.com/"
license=('GPL' 'PerlArtistic')
depends=('perl-file-next')
options=('!emptydirs')
categories=('programming')
source=(https://github.com/petdance/ack2/archive/${ver}.tar.gz)
sha256sums=('53c794dff33c6a6d83fc9735d9b23a9564d600e4fee28e11d84461b0b10c893b')
build() {
cd "$srcdir/ack2-$ver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/ack2-$ver"
make DESTDIR="$pkgdir" install
}