[arch-commits] Commit in grep/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Thu Feb 16 12:00:04 UTC 2012


    Date: Thursday, February 16, 2012 @ 07:00:03
  Author: allan
Revision: 150288

upgpkg: grep 2.10-3

add /bin/grep symlink

Modified:
  grep/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-16 11:01:38 UTC (rev 150287)
+++ PKGBUILD	2012-02-16 12:00:03 UTC (rev 150288)
@@ -4,7 +4,7 @@
 
 pkgname=grep
 pkgver=2.10
-pkgrel=2
+pkgrel=3
 pkgdesc="A string search utility"
 arch=('i686' 'x86_64')
 license=('GPL3')
@@ -31,4 +31,7 @@
 package() {
   cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
+  
+  install -dm755 ${pkgdir}/bin
+  ln -s /usr/bin/grep ${pkgdir}/bin/grep
 }




More information about the arch-commits mailing list