PKGBUILDs/core/diffutils/PKGBUILD

36 lines
806 B
Bash
Raw Normal View History

2011-09-12 14:52:08 +00:00
# $Id: PKGBUILD 137083 2011-09-06 04:35:04Z allan $
2011-08-19 00:12:51 +00:00
# Maintainer: Allan McRae <allan@archlinux.org>
2010-03-13 07:56:27 +00:00
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# 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-09-12 14:52:08 +00:00
pkgver=3.2
2012-04-02 15:37:56 +00:00
pkgrel=1.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)
2011-09-12 14:52:08 +00:00
md5sums=('26ff64c332429c830c154be46b393382')
2010-03-13 07:56:27 +00:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./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
}