diff --git a/grep/build.sh b/grep/build.sh index 92257c0..2e0cd93 100755 --- a/grep/build.sh +++ b/grep/build.sh @@ -9,7 +9,7 @@ # Check the following 4 variables before running the script topdir=grep version=2.5 -pkgver=1 +pkgver=2 source[0]=$topdir-$version.tar.bz2 # If there are no patches, simply comment this patch[0]=grep-2.5-symlink-destdir.patch @@ -17,13 +17,6 @@ patch[0]=grep-2.5-symlink-destdir.patch # Source function library . ${BUILDPKG_BASE}/scripts/buildpkg.functions -# Fill in pkginfo values if necessary -# using pkgname,name,pkgcat,pkgvendor & pkgdesc -name="GNU grep" -pkgcat="application" -pkgvendor="http://www.gnu.org" -pkgdesc="Find lines that match entered patterns" - # Define script functions and register them METHODS="" reg() { @@ -46,6 +39,7 @@ reg install install() { generic_install DESTDIR + $RM -f $stagedir$prefix/$_infodir/dir } reg pack diff --git a/grep/meta/pkgdef b/grep/meta/pkgdef new file mode 100644 index 0000000..fd6e033 --- /dev/null +++ b/grep/meta/pkgdef @@ -0,0 +1,11 @@ +[grep] +pkgname="$pkgprefix""$topdir" +name="GNU grep" +pkgcat="application" +pkgvendor="http://www.gnu.org" +pkgdesc="Find lines that match entered patterns" +pkgver="$pkgver" +files(-,root,bin) +$_bindir +$_infodir +$_mandir