PKGBUILDs/core/diffutils/PKGBUILD

23 lines
584 B
Bash
Raw Normal View History

# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
pkgname=diffutils
pkgver=2.8.1
pkgrel=2
pkgdesc="Utility programs used for creating patch files"
arch=(arm)
license=('GPL')
groups=('base')
url="http://www.gnu.org/software/diffutils"
depends=('glibc')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('71f9c5ae19b60608f6c7f162da86a428')
build() {
cd ${srcdir}/diffutils-${pkgver}
./configure --prefix=/usr \
--mandir=/usr/share/man --infodir=/usr/share/info || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
}