2011-08-19 00:12:51 +00:00
|
|
|
# $Id: PKGBUILD 135710 2011-08-18 02:10:14Z allan $
|
|
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
2010-03-13 07:56:27 +00:00
|
|
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
|
2011-06-13 02:01:45 +00:00
|
|
|
# ALARM: add libsigsegv to depends
|
|
|
|
plugrel=1
|
2010-10-28 09:28:45 +00:00
|
|
|
|
2010-03-13 07:56:27 +00:00
|
|
|
pkgname=diffutils
|
2011-08-19 00:12:51 +00:00
|
|
|
pkgver=3.1
|
|
|
|
pkgrel=1
|
2010-03-13 07:56:27 +00:00
|
|
|
pkgdesc="Utility programs used for creating patch files"
|
2011-08-19 00:12:51 +00:00
|
|
|
arch=('i686' 'x86_64')
|
2010-03-13 07:56:27 +00:00
|
|
|
url="http://www.gnu.org/software/diffutils"
|
|
|
|
license=('GPL3')
|
|
|
|
groups=('base')
|
2010-04-24 04:36:03 +00:00
|
|
|
depends=('glibc' 'sh' 'libsigsegv')
|
2010-03-13 07:56:27 +00:00
|
|
|
install=diffutils.install
|
2011-08-19 00:12:51 +00:00
|
|
|
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
|
|
|
md5sums=('fbb1d804849fa32ff5853f028a3be46f')
|
2010-03-13 07:56:27 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
2010-10-31 23:05:10 +00:00
|
|
|
./configure --prefix=/usr
|
2011-08-19 00:12:51 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
make check
|
2010-03-13 07:56:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
2011-08-19 00:12:51 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-03-13 07:56:27 +00:00
|
|
|
}
|