diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-25 11:26:21 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-25 11:35:32 +0000 |
commit | b2be4014b18d95ee58f359f9e1a9a21f8fc9713a (patch) | |
tree | 64515f191e5611a904f838b2faf0730ad51fcf53 | |
parent | 03c2f04fbd760c023513ab02c14dd9051433e063 (diff) | |
download | aports-b2be4014b18d95ee58f359f9e1a9a21f8fc9713a.tar.bz2 aports-b2be4014b18d95ee58f359f9e1a9a21f8fc9713a.tar.xz |
main/diffutils: upgrade to 3.6
Modernize APKBUILD
-rw-r--r-- | main/diffutils/APKBUILD | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/main/diffutils/APKBUILD b/main/diffutils/APKBUILD index e45fea37b1..889844a6dd 100644 --- a/main/diffutils/APKBUILD +++ b/main/diffutils/APKBUILD @@ -1,25 +1,23 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=diffutils -pkgver=3.5 +pkgver=3.6 pkgrel=0 pkgdesc="Show differences among files" subpackages="$pkgname-doc" url="http://www.gnu.org/software/diffutils/" arch="all" license="GPL3+" -depends="" -makedepends="" -install="" +options="!check" source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz" - builddir=$srcdir/$pkgname-$pkgver + prepare() { cd "$builddir" - default_prepare || return 1 + default_prepare # fix eglibc-2.16 build issue sed -i -e '/gets is a/d' \ - lib/stdio.in.h || return 1 + lib/stdio.in.h } build() { @@ -30,9 +28,13 @@ build() { --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-nls \ - || return 1 - make || return 1 + --disable-nls + make +} + +check() { + cd "$builddir" + make check } package() { @@ -43,6 +45,4 @@ package() { rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true } -md5sums="569354697ff1cfc9a9de3781361015fa diffutils-3.5.tar.xz" -sha256sums="dad398ccd5b9faca6b0ab219a036453f62a602a56203ac659b43e889bec35533 diffutils-3.5.tar.xz" -sha512sums="758229637e3703215adf66c5df04126ae594424abaf2cad8f1fa482bd9759e90838c943ef56e0129beb1396f5932ed9337c8396679da3de32e49bb43d423fd6b diffutils-3.5.tar.xz" +sha512sums="3c159ff1cb7c901b0a57518483566b5740ca3c45aeb8d3004089f052975481db52994cc18592c502c68b0d2a1e22f1f7830f0d8dd9a9ed86de96e28cce9f70c1 diffutils-3.6.tar.xz" |