diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-12-11 15:40:41 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-12-11 15:40:04 +0000 |
commit | b3dccbc1c31413bace955a59ec6bb05a117b8ef5 (patch) | |
tree | d9446ce5155a4058a3a712e31ae7321230c945cc /main/grep | |
parent | d9ff54903bfb84c5f49df5c55aad64861b8922a0 (diff) | |
download | aports-b3dccbc1c31413bace955a59ec6bb05a117b8ef5.tar.bz2 aports-b3dccbc1c31413bace955a59ec6bb05a117b8ef5.tar.xz |
main/grep: Upgrade to 2.27. Modernize APKBUILD.
Diffstat (limited to 'main/grep')
-rw-r--r-- | main/grep/APKBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD index b6b5bd62b7..67220a86de 100644 --- a/main/grep/APKBUILD +++ b/main/grep/APKBUILD @@ -1,22 +1,21 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Natanael Copa <ncopa@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 \ @@ -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" |