diff options
Diffstat (limited to 'main')
-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" |