summaryrefslogtreecommitdiff
path: root/core/patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-30 01:25:00 -0700
committerroot <root@rshg054.dnsready.net>2012-09-30 01:25:00 -0700
commit75826a796a4589c1999f1b3b86eb8c122ef44edd (patch)
tree5a5d447af9ccc76d5aeba1f75ff063b405ab9489 /core/patch
parentb004f93f171149c5a53d464819b9d0197f1d783e (diff)
Sun Sep 30 01:24:59 PDT 2012
Diffstat (limited to 'core/patch')
-rw-r--r--core/patch/PKGBUILD24
1 files changed, 9 insertions, 15 deletions
diff --git a/core/patch/PKGBUILD b/core/patch/PKGBUILD
index 8c0185fa9..bd0f27666 100644
--- a/core/patch/PKGBUILD
+++ b/core/patch/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 142074 2011-11-04 23:36:08Z allan $
+# $Id: PKGBUILD 167281 2012-09-29 22:30:14Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=patch
-pkgver=2.6.1
-pkgrel=3
+pkgver=2.7.1
+pkgrel=1
pkgdesc="A utility to apply patch files to original sources"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/patch/patch.html"
@@ -12,20 +12,14 @@ license=('GPL')
groups=('base-devel')
depends=('glibc')
makedepends=('ed')
-optdepends=('ed: Interpret the patch as an ed script; for patch -e functionality(deprecated)')
-source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}
- patch-2.6.1-get-arg.patch)
-md5sums=('d758eb96d3f75047efc004a720d33daf'
- 'f7953f3e472fae5118815e6138372e22'
- '45cd5709adbbcdcb3ab95dc43559c07c')
+optdepends=('ed: for patch -e functionality')
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('e9ae5393426d3ad783a300a338c09b72'
+ 'b12189e0de3cb2af25268441647ec517')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
-
- # Fixed argument type for --get
- # see https://bugzilla.redhat.com/show_bug.cgi?id=553624
- patch -Np1 -i $srcdir/patch-2.6.1-get-arg.patch
- ./configure --prefix=/usr --mandir=/usr/share/man
+ ./configure --prefix=/usr
make
}
@@ -36,5 +30,5 @@ check() {
package() {
cd ${srcdir}/${pkgname}-${pkgver}
- make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install
+ make DESTDIR=$pkgdir install
}