diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-08-11 21:43:14 -0400 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-12 11:38:18 +0200 |
commit | 1351413c11d8860d2d7b2b593c2dd2405e14f12c (patch) | |
tree | d67c63bfe84f6e715abd5c7a463dcbed8f767595 /main/diffutils | |
parent | 29f770bc53e9ff5a6c405f9b4ec36df0ca87516c (diff) | |
download | aports-1351413c11d8860d2d7b2b593c2dd2405e14f12c.tar.bz2 aports-1351413c11d8860d2d7b2b593c2dd2405e14f12c.tar.xz |
main/diffutils: upgrade to 3.4
Diffstat (limited to 'main/diffutils')
-rw-r--r-- | main/diffutils/APKBUILD | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/main/diffutils/APKBUILD b/main/diffutils/APKBUILD index 1a312cd0c1..48ad61ec1e 100644 --- a/main/diffutils/APKBUILD +++ b/main/diffutils/APKBUILD @@ -1,47 +1,42 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=diffutils -pkgver=3.3 +pkgver=3.4 pkgrel=0 pkgdesc="Show differences among files" subpackages="$pkgname-doc" url="http://www.gnu.org/software/diffutils/" arch="all" -license="GPL2" +license="GPL3+" depends="" makedepends="" install="" source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz" -_builddir=$srcdir/$pkgname-$pkgver - +builddir=$srcdir/$pkgname-$pkgver prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + cd "$builddir" + default_prepare || return 1 + # fix eglibc-2.16 build issue sed -i -e '/gets is a/d' \ lib/stdio.in.h || return 1 } build() { - cd "$_builddir" - + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ + --disable-nls \ || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make install DESTDIR=$pkgdir rm -rf "$pkgdir"/usr/lib/charset.alias @@ -49,6 +44,6 @@ package() { return 0 } -md5sums="99180208ec2a82ce71f55b0d7389f1b3 diffutils-3.3.tar.xz" -sha256sums="a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c diffutils-3.3.tar.xz" -sha512sums="b04b998717e45e8fd1ba675957dad1909beeed68ffc41c0d9bbaddaf78965f9e63af5a8d8811bb94f33a3cddcad2fe1ad794e52e545def9ce96c092999a74a83 diffutils-3.3.tar.xz" +md5sums="df9ca465f30307cffd03da176a43a5d4 diffutils-3.4.tar.xz" +sha256sums="db53c025f2ac3d217bcf753dad6dee7b410b33d0948495ff015aaf8b91189ce2 diffutils-3.4.tar.xz" +sha512sums="0fc273007e35e67e217116e776956c6a24421f298d3e6fe60aa1d4250938a65bb8e685cd815517317b5637f5c412c1550d7c1994a9e0283ebbcae9bde24a260d diffutils-3.4.tar.xz" |