X-Original-To: alpine-aports@lists.alpinelinux.org Received: from sender153-mail.zoho.com (sender153-mail.zoho.com [74.201.84.153]) by lists.alpinelinux.org (Postfix) with ESMTP id 021435C4574 for ; Sun, 11 Dec 2016 14:40:49 +0000 (GMT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id; b=oJ5f4w9pOQE7v0grSZ6cxJ6l3fErTs/3nF1p9SxNSKpw4q84QyOiURf9x8fH43JbCvLKfhcSyuNh r8a6B8cL5bPTlRs5j/tbYwYnY5Yr4r8nXdLegaZHt0Rth++b8SyN Received: from localhost (89-76-125-170.dynamic.chello.pl [89.76.125.170]) by mx.zohomail.com with SMTPS id 1481467247802876.47502607127; Sun, 11 Dec 2016 06:40:47 -0800 (PST) From: Przemyslaw Pawelczyk To: ncopa@alpinelinux.org Cc: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] main/grep: Upgrade to 2.27. Modernize APKBUILD. Date: Sun, 11 Dec 2016 15:40:41 +0100 Message-Id: <20161211144041.28320-1-przemoc@zoho.com> X-Mailer: git-send-email 2.8.3 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- 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 @@ -1,22 +1,21 @@ # Contributor: Michael Mason # Maintainer: Natanael Copa 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 \ @@ -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@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---