summaryrefslogtreecommitdiffstats
path: root/abs/core/diffutils/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-06 22:40:44 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-06 22:40:44 (GMT)
commitb547bc0ac0b702e13e15dc6eb1754fc3e42cc8d5 (patch)
tree49320cb4a703664956bb4ddfb161314fa24a6774 /abs/core/diffutils/PKGBUILD
parentdfd216f3480a1a047d5b5fd18819563f6c2eb789 (diff)
downloadlinhes_pkgbuild-b547bc0ac0b702e13e15dc6eb1754fc3e42cc8d5.zip
linhes_pkgbuild-b547bc0ac0b702e13e15dc6eb1754fc3e42cc8d5.tar.gz
linhes_pkgbuild-b547bc0ac0b702e13e15dc6eb1754fc3e42cc8d5.tar.bz2
diffutils: 3.2
glibc patch
Diffstat (limited to 'abs/core/diffutils/PKGBUILD')
-rw-r--r--abs/core/diffutils/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/abs/core/diffutils/PKGBUILD b/abs/core/diffutils/PKGBUILD
index 6cf0ff4..ca871aa 100644
--- a/abs/core/diffutils/PKGBUILD
+++ b/abs/core/diffutils/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id$
+# $Id: PKGBUILD 137084 2011-09-06 04:35:05Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=diffutils
-pkgver=3.0
-pkgrel=2
+pkgver=3.2
+pkgrel=1
pkgdesc="Utility programs used for creating patch files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/diffutils"
@@ -13,15 +13,21 @@ groups=('base')
depends=('glibc' 'sh')
install=diffutils.install
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
-md5sums=('7624eb7e6b53ea3ce38958a092d2216e')
+md5sums=('26ff64c332429c830c154be46b393382')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${srcdir}/${pkgname}-${pkgver}
+ sed -i '/gets is a security hole/d' lib/stdio.in.h
./configure --prefix=/usr
make
}
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}