aboutsummaryrefslogtreecommitdiffstats
path: root/main/grep/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/grep/APKBUILD')
-rw-r--r--main/grep/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD
index 4bdc96472a..246d6c2aee 100644
--- a/main/grep/APKBUILD
+++ b/main/grep/APKBUILD
@@ -1,17 +1,16 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer:
pkgname=grep
-pkgver=2.5.4
-pkgrel=1
+pkgver=2.6.2
+pkgrel=0
pkgdesc="Searches input files for lines containing a match to a specified pattern"
url="http://www.gnu.org/software/grep/grep.html"
license="GPL"
-depends="uclibc pcre"
+depends=
makedepends="pcre-dev"
-install="$pkgname.post-deinstall"
+install=
subpackages="$pkgname-doc"
-source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
- $install"
+source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -22,9 +21,11 @@ build() {
--infodir=/usr/share/info \
--disable-nls
make || return 1
- make DESTDIR="$pkgdir" install
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}
-md5sums="92258031d98d4f12dfc6a6d24057e672 grep-2.5.4.tar.gz
-b84506d253e04db3c5af9016fead45a3 grep.post-deinstall"
+md5sums="923ab7442f333cdfe8d1c6f8e3de88db grep-2.6.2.tar.gz"