core/diffutils to 3.1-1

This commit is contained in:
Kevin Mihelich 2011-08-18 20:12:51 -04:00
parent 22366d0b3f
commit ab02e02e74
2 changed files with 16 additions and 10 deletions

View file

@ -1,29 +1,35 @@
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
# $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.0
pkgrel=2
pkgver=3.1
pkgrel=1
pkgdesc="Utility programs used for creating patch files"
arch=('arm')
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=('7624eb7e6b53ea3ce38958a092d2216e')
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
md5sums=('fbb1d804849fa32ff5853f028a3be46f')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make
}
check() {
cd ${srcdir}/${pkgname}-${pkgver}
make check
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
make DESTDIR="${pkgdir}" install
}

View file

@ -1,5 +1,5 @@
infodir=/usr/share/info
filelist=(diff.info)
infodir=usr/share/info
filelist=(diffutils.info)
post_install() {
[ -x usr/bin/install-info ] || return 0