Commit 006b203e authored by abveritas's avatar abveritas

continued glibc core update, grep, reversed gawk changes

parent 60543639
......@@ -19,21 +19,16 @@ depends=('sh' 'glibc')
md5sums=('35937a0f83f0efe7a8c2dee635624784')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
mv ${pkgdir}/usr/libexec ${pkgdir}/usr/lib
install -dm755 ${pkgdir}/bin
mv ${pkgdir}/usr/bin/gawk* ${pkgdir}/bin/
mv ${pkgdir}/usr/bin/awk ${pkgdir}/bin/
cd ${pkgdir}/usr/bin/
ln -sf /bin/gawk gawk
make || return 1
make DESTDIR=$pkgdir install
mv $pkgdir/usr/libexec $pkgdir/usr/lib
install -dm755 $pkgdir/bin
mv $pkgdir/usr/bin/gawk* $pkgdir/bin/
mv $pkgdir/usr/bin/awk $pkgdir/bin/
rm $pkgdir/usr/share/info/dir
gzip -9 $pkgdir/usr/share/info/{gawk,gawkinet}.info
}
# $Id: PKGBUILD 75676 2010-04-02 10:43:26Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=grep
pkgver=2.6.3
pkgver=2.9
pkgrel=1
pkgdesc="A string search utility"
arch=('i686' 'x86_64')
......@@ -14,7 +16,7 @@ depends=('glibc' 'pcre' 'sh')
makedepends=('texinfo>=4.8a')
install=${pkgname}.install
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz)
md5sums=('69a3bf508a3f14d12369e0e1c7a92763')
md5sums=('25e41b2aa201104354740961ef36005a')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment