[arch-commits] Commit in patch/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Thu Sep 13 04:52:44 UTC 2012
Date: Thursday, September 13, 2012 @ 00:52:43
Author: allan
Revision: 166612
upgpkg: patch 2.7-1
upstream update
Modified:
patch/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-09-13 04:24:27 UTC (rev 166611)
+++ PKGBUILD 2012-09-13 04:52:43 UTC (rev 166612)
@@ -3,8 +3,8 @@
# Contributor: judd <jvinet at zeroflux.org>
pkgname=patch
-pkgver=2.6.1
-pkgrel=3
+pkgver=2.7
+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 @@
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=('d443f9d9a7d1bf1715831883917699d9'
+ '874fb55b72bc5c3c44794645b04e69a9')
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 @@
package() {
cd ${srcdir}/${pkgname}-${pkgver}
- make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install
+ make DESTDIR=$pkgdir install
}
More information about the arch-commits
mailing list