diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-24 02:52:00 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-24 02:52:00 (GMT) |
commit | 39d885a41216f774afad473d79227ec1c57e7fb5 (patch) | |
tree | 2566e1138480d13323cbfdbab915f5dfc457aadb | |
parent | 7e069d2b1bfc8e6f22557a6c139c74fc6a482648 (diff) | |
download | linhes_pkgbuild-39d885a41216f774afad473d79227ec1c57e7fb5.zip linhes_pkgbuild-39d885a41216f774afad473d79227ec1c57e7fb5.tar.gz linhes_pkgbuild-39d885a41216f774afad473d79227ec1c57e7fb5.tar.bz2 |
patch: upgrade
-rw-r--r-- | abs/core/patch/PKGBUILD | 23 |
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 } |