core/grep/PKGBUILD
Jan Mette ce47e0227b
2010-04-05 17:09:31 +00:00

25 lines
692 B
Bash

# $Id: PKGBUILD 75676 2010-04-02 10:43:26Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=grep
pkgver=2.6.3
pkgrel=1
pkgdesc="A string search utility"
arch=('i686' 'x86_64')
license=('GPL3')
url="http://www.gnu.org/software/grep/grep.html"
groups=('base')
depends=('glibc' 'pcre' 'sh')
makedepends=('texinfo>=4.8a')
install=${pkgname}.install
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz)
md5sums=('69a3bf508a3f14d12369e0e1c7a92763')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --bindir=/bin --without-included-regex
make || return 1
make DESTDIR=${pkgdir} install || return 1
}