mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
787 B
Bash
30 lines
787 B
Bash
# Maintainer: Philipp Scholl <pscholl@bawue.de>
|
|
|
|
pkgname=grep
|
|
pkgver=2.5.4
|
|
pkgrel=1
|
|
pkgdesc="A string search utility"
|
|
arch=(arm)
|
|
license=('GPL3')
|
|
url="http://www.gnu.org/software/grep/grep.html"
|
|
groups=('base')
|
|
depends=('glibc' 'pcre')
|
|
makedepends=('texinfo>=4.8a')
|
|
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
|
|
14-mem-exhausted.patch
|
|
15-empty-pattern.patch
|
|
64-egf-speedup.patch)
|
|
md5sums=('92258031d98d4f12dfc6a6d24057e672'
|
|
'bc937da562d468f32c1fef2894610283'
|
|
'f421415b679ebcc9152797caaa0b1d51'
|
|
'efbe9d49d71a74092db6b86224b09fdd')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
for i in ../*.patch; do
|
|
patch -Np1 -i ../$i
|
|
done
|
|
./configure --prefix=/usr --bindir=/bin
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|