description="Searches input(s) file(s) for lines containing a match to a specified pattern."
url="http://www.gnu.org/software/grep/"

packager="Grat-OS Team"
maintainer="Grat-OS Team"

name=grep
version=3.12
release=3

source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

build() {
  cd grep-$version

  sed -i "s/echo/#echo/" src/egrep.sh

  ./configure --prefix=/usr

  make

  make check

  make DESTDIR=$PKG install
}
