desktop/ack/PKGBUILD

32 lines
835 B
Bash
Raw Normal View History

#
# Chakra Packages for Chakra, part of chakra-project.org
#
2013-12-04 07:02:23 +08:00
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ack
2013-12-04 07:02:23 +08:00
pkgver=2.10
2011-10-11 20:01:45 +08:00
pkgrel=1
pkgdesc="A Perl-based grep replacement, aimed at programmers with large trees of heterogeneous source code"
2013-12-04 07:02:23 +08:00
arch=('x86_64')
url="http://betterthangrep.com/"
license=('GPL' 'PerlArtistic')
depends=('perl-file-next')
options=('!emptydirs')
categories=('programming')
source=(http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$pkgname-$pkgver.tar.gz)
2013-12-04 07:02:23 +08:00
md5sums=('4581d79ecb12b544f363f0f162aaaeb5')
build() {
cd "$srcdir/$pkgname-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}