From 4dcd939641a53370bb69351dfebe894dfca989d3 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 24 Aug 2015 21:39:15 +0000
Subject: diffutils: update to 3.3

---
 abs/core/diffutils/PKGBUILD    | 32 ++++++++++++++++++--------------
 abs/core/diffutils/__changelog |  1 -
 2 files changed, 18 insertions(+), 15 deletions(-)
 delete mode 100644 abs/core/diffutils/__changelog

diff --git a/abs/core/diffutils/PKGBUILD b/abs/core/diffutils/PKGBUILD
index ca871aa..944753f 100644
--- a/abs/core/diffutils/PKGBUILD
+++ b/abs/core/diffutils/PKGBUILD
@@ -1,33 +1,37 @@
-# $Id: PKGBUILD 137084 2011-09-06 04:35:05Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
+# $Id$
+# Mainainer: Sébastien Luttringer <seblu@archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
 # Contributor: Andreas Radke <andyrtr@archlinux.org>
 
 pkgname=diffutils
-pkgver=3.2
-pkgrel=1
-pkgdesc="Utility programs used for creating patch files"
+pkgver=3.3
+pkgrel=2
+pkgdesc='Utility programs used for creating patch files'
 arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/diffutils"
+url='http://www.gnu.org/software/diffutils'
 license=('GPL3')
 groups=('base')
-depends=('glibc' 'sh')
+depends=('glibc' 'bash')
 install=diffutils.install
-source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
-md5sums=('26ff64c332429c830c154be46b393382')
+validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering
+source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+md5sums=('99180208ec2a82ce71f55b0d7389f1b3'
+         '203a2f2101dfcc09cdac655be353fd78')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  sed -i '/gets is a security hole/d' lib/stdio.in.h
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr
   make
 }
 
 check() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   make check
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 }
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/diffutils/__changelog b/abs/core/diffutils/__changelog
deleted file mode 100644
index f7bfd9a..0000000
--- a/abs/core/diffutils/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-sed -i '/gets is a security hole/d' lib/stdio.in.h
-- 
cgit v0.12

