diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-08 00:39:30 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-08 00:39:30 +0000 |
commit | beb0a8fe4c43b71c950be23d3393d64f9df79f22 (patch) | |
tree | ab87f8c6883c2250e1b9ddb13e8d78e7ff81e858 | |
parent | 924a7e71c28b4617b8c20feb495d5116cef6aa11 (diff) | |
download | packages-beb0a8fe4c43b71c950be23d3393d64f9df79f22.tar.gz packages-beb0a8fe4c43b71c950be23d3393d64f9df79f22.tar.bz2 packages-beb0a8fe4c43b71c950be23d3393d64f9df79f22.tar.xz packages-beb0a8fe4c43b71c950be23d3393d64f9df79f22.zip |
system/diffutils: bump to 3.7, modernise
-rw-r--r-- | system/diffutils/APKBUILD | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/system/diffutils/APKBUILD b/system/diffutils/APKBUILD index 01e40cedc..b47acbe37 100644 --- a/system/diffutils/APKBUILD +++ b/system/diffutils/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: pkgname=diffutils -pkgver=3.6 -pkgrel=2 +pkgver=3.7 +pkgrel=0 pkgdesc="Show differences among files" subpackages="$pkgname-doc $pkgname-lang" url="https://www.gnu.org/software/diffutils/" @@ -12,17 +12,7 @@ source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz gnulib-tests-dont-require-gpg-passphrase.patch " -prepare() { - cd "$builddir" - default_prepare - - # fix eglibc-2.16 build issue - sed -i -e '/gets is a/d' \ - lib/stdio.in.h -} - build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -33,18 +23,16 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make install DESTDIR=$pkgdir rm -rf "$pkgdir"/usr/lib/charset.alias rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true } -sha512sums="3c159ff1cb7c901b0a57518483566b5740ca3c45aeb8d3004089f052975481db52994cc18592c502c68b0d2a1e22f1f7830f0d8dd9a9ed86de96e28cce9f70c1 diffutils-3.6.tar.xz +sha512sums="7b12cf8aea1b9844773748f72272d9c6a38adae9c3c3a8c62048f91fb56c60b76035fa5f51665dceaf2cfbf1d1f4a3efdcc24bf47a5a16ff4350543314b12c9c diffutils-3.7.tar.xz 2602dabf0ac52a273b84160032416613da7ad111541fe25466cf9d4ce1eb2630f0ba0cb0b3013967965d8359a11a5f390f0486b4526b35516d9de1c8975f720d disable-mbrtowc-test.patch d45ab939e70b8b6e80d8950a8436be81e34e1067741196229edc7fbe33db92aa14532cf7490379741e779ae2cfc6010bec22dda2b2a046a3bc9eb68b94a0ff11 gnulib-tests-dont-require-gpg-passphrase.patch" |