[arch-commits] Commit in patch/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Fri Feb 6 11:04:14 UTC 2009


    Date: Friday, February 6, 2009 @ 06:04:14
  Author: andyrtr
Revision: 26319

upgpkg: patch 2.5.9-2
    make ed an optdepend; fix #12959

Modified:
  patch/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-02-06 03:11:41 UTC (rev 26318)
+++ PKGBUILD	2009-02-06 11:04:14 UTC (rev 26319)
@@ -1,21 +1,24 @@
 # $Id$
-# Maintainer: judd <jvinet at zeroflux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
 pkgname=patch
 pkgver=2.5.9
-pkgrel=1
+pkgrel=2
 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')
+depends=('glibc')
+optdepends=('ed: Interpret the patch as an ed script; for patch -e functionality(deprecated)')
 source=(ftp://alpha.gnu.org/gnu/diffutils/$pkgname-$pkgver.tar.gz)
 	#ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('dacfb618082f8d3a2194601193cf8716')
 
 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
+  make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install || return 1
 }




More information about the arch-commits mailing list