core/diffutils/PKGBUILD
Jan Mette 0ae13fefd0
2010-03-21 20:46:45 +00:00

30 lines
780 B
Bash

# $Id: PKGBUILD 68712 2010-02-14 00:29:45Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=diffutils
pkgver=2.9
pkgrel=3
pkgdesc="Utility programs used for creating patch files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/diffutils"
license=('GPL3')
groups=('base')
depends=('glibc')
install=diffutils.install
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('d6bc1bdc874ddb14cfed4d1655a0dbbe')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
make || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
rm -rf $pkgdir/usr/share/info/dir
}