summaryrefslogtreecommitdiffstats
path: root/abs/core/patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/patch')
-rw-r--r--abs/core/patch/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/abs/core/patch/PKGBUILD b/abs/core/patch/PKGBUILD
index 87810d1..3124e1f 100644
--- a/abs/core/patch/PKGBUILD
+++ b/abs/core/patch/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 1438 2008-05-08 17:11:21Z andyrtr $
-# Maintainer: judd <jvinet@zeroflux.org>
+# $Id: PKGBUILD 62841 2010-01-13 01:57:24Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+
pkgname=patch
-pkgver=2.5.9
+pkgver=2.6.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"
license=('GPL')
groups=('base-devel')
-depends=('glibc' 'ed')
-source=(ftp://alpha.gnu.org/gnu/diffutils/$pkgname-$pkgver.tar.gz)
- #ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('dacfb618082f8d3a2194601193cf8716')
+depends=('glibc')
+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)
+md5sums=('d758eb96d3f75047efc004a720d33daf')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
- make prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man install || return 1
+}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install || return 1
}