PKGBUILDs/core/diffutils/PKGBUILD
2010-04-23 23:36:03 -05:00

26 lines
708 B
Bash
Executable file

# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=diffutils
pkgver=2.9
pkgrel=2
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.gz)
md5sums=('d6bc1bdc874ddb14cfed4d1655a0dbbe')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
make || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
}