Subject: [alpine-aports] [PATCH 1/1] main/diffutils: upgrade to 3.4

From: Daniel Sabogal <[email-masked]>
Date: Thu, 11 Aug 2016 21:43:14 -0400

From: Daniel Sabogal <[email-masked]>

---
 main/diffutils/APKBUILD | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/main/diffutils/APKBUILD b/main/diffutils/APKBUILD
index 1a312cd..eb2ea57 100644
--- a/main/diffutils/APKBUILD
+++ b/main/diffutils/APKBUILD
@@ -1,35 +1,27 @@
 # Maintainer: Leonardo Arena <[email-masked]>
 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"
 	# 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 \
@@ -41,7 +33,7 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make install DESTDIR=$pkgdir
 
 	rm -rf "$pkgdir"/usr/lib/charset.alias
@@ -49,6 +41,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"
-- 
2.8.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---