PKGBUILDs/core/diffutils/PKGBUILD
2011-01-07 00:14:59 -06:00

29 lines
726 B
Bash
Executable file

# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Plugbox changes: On arm, diff depends on libsigsegv.
pkgname=diffutils
pkgver=3.0
pkgrel=3
plugrel=1
pkgdesc="Utility programs used for creating patch files"
arch=('arm')
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')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
}