Mail archive
alpine-aports

[alpine-aports] [PATCH] main/grep: Upgrade to 2.27. Modernize APKBUILD.

From: Przemyslaw Pawelczyk <przemoc_at_zoho.com>
Date: Sun, 11 Dec 2016 15:40:41 +0100

---
 main/grep/APKBUILD | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD
index b6b5bd62b7fa..67220a86deb7 100644
--- a/main/grep/APKBUILD
+++ b/main/grep/APKBUILD
_at_@ -1,22 +1,21 @@
 # Contributor: Michael Mason <ms13sp_at_gmail.com>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=grep
-pkgver=2.26
+pkgver=2.27
 pkgrel=0
 pkgdesc="Searches input files for lines containing a match to a specified pattern"
 url="http://www.gnu.org/software/grep/grep.html"
 arch="all"
 license="GPL"
-depends=
 makedepends="pcre-dev autoconf automake"
-install=
 subpackages="$pkgname-doc"
 source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz
 	"
 
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
+
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
_at_@ -30,13 +29,13 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make DESTDIR="$pkgdir" install || return 1
 	rm -rf "$pkgdir"/usr/lib/charset.alias
 	rmdir -p "$pkgdir"/usr/lib 2>/dev/null
 	return 0
 }
 
-md5sums="afdd61c7221434722671baf002ac9267  grep-2.26.tar.xz"
-sha256sums="246a8fb37e82aa33d495b07c22fdab994c039ab0f818538eac81b01e78636870  grep-2.26.tar.xz"
-sha512sums="2759f20fe4de432dd115f563bbbbf1ccd2f4a774e2a22d9bf249c2c33016d945352a46a8c222499d67ae13b638646a6a70b47b977412b637728f50d543ae071b  grep-2.26.tar.xz"
+md5sums="6138dd227c39d4a25f81eea76a44d4cb  grep-2.27.tar.xz"
+sha256sums="ad4cc44d23074a1c3a8baae8fbafff2a8c60f38a9a6108f985eef6fbee6dcaeb  grep-2.27.tar.xz"
+sha512sums="d67f16cc5f931a455d5287badbaf080967da573d290430f440e578a563cff4f4c0c2668f60dbb8bc71eaed289f075957006c10c6827f0da1a49df49efd3f0781  grep-2.27.tar.xz"
-- 
2.8.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Dec 11 2016 - 15:40:41 GMT