PKGBUILDs/core/diffutils/PKGBUILD
2012-04-02 11:37:56 -04:00

35 lines
806 B
Bash
Executable file

# $Id: PKGBUILD 137083 2011-09-06 04:35:04Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# ALARM: add libsigsegv to depends
plugrel=1
pkgname=diffutils
pkgver=3.2
pkgrel=1.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=('26ff64c332429c830c154be46b393382')
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
}