diff options
Diffstat (limited to 'abs/core/diffutils/PKGBUILD')
-rw-r--r-- | abs/core/diffutils/PKGBUILD | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/abs/core/diffutils/PKGBUILD b/abs/core/diffutils/PKGBUILD index 8b075bc..6f0c432 100644 --- a/abs/core/diffutils/PKGBUILD +++ b/abs/core/diffutils/PKGBUILD @@ -1,20 +1,27 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 79537 2010-05-04 12:05:07Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Andreas Radke <andyrtr@archlinux.org> + pkgname=diffutils -pkgver=2.8.1 -pkgrel=5 +pkgver=3.0 +pkgrel=1 pkgdesc="Utility programs used for creating patch files" -arch=(i686 x86_64) -license=('GPL') -groups=('base-devel') +arch=('i686' 'x86_64') url="http://www.gnu.org/software/diffutils" -depends=('glibc') -source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('71f9c5ae19b60608f6c7f162da86a428') +license=('GPL3') +groups=('base') +depends=('glibc' 'sh') +install=diffutils.install +source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz) +md5sums=('7624eb7e6b53ea3ce38958a092d2216e') build() { - cd $startdir/src/$pkgname-$pkgver + cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr make || return 1 - make DESTDIR=${startdir}/pkg install +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install || return 1 } |