PKGBUILDs/core/diffutils/PKGBUILD
2011-08-18 20:12:51 -04:00

35 lines
804 B
Bash
Executable file

# $Id: PKGBUILD 135710 2011-08-18 02:10:14Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# ALARM: add libsigsegv to depends
plugrel=1
pkgname=diffutils
pkgver=3.1
pkgrel=1
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' 'sh' 'libsigsegv')
install=diffutils.install
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
md5sums=('fbb1d804849fa32ff5853f028a3be46f')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
check() {
cd ${srcdir}/${pkgname}-${pkgver}
make check
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}