PKGBUILDs/core/diffutils/PKGBUILD

29 lines
730 B
Bash
Raw Normal View History

2010-04-24 04:36:03 +00:00
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
2010-03-13 07:56:27 +00:00
# Contributor: Andreas Radke <andyrtr@archlinux.org>
2010-10-28 09:28:45 +00:00
# Plugbox changes: ABS forgot to add that diff depends on libsigsegv
2010-03-13 07:56:27 +00:00
pkgname=diffutils
2010-10-28 09:28:45 +00:00
pkgver=3.0
pkgrel=3
2010-03-13 07:56:27 +00:00
pkgdesc="Utility programs used for creating patch files"
2010-10-28 09:28:45 +00:00
arch=('arm')
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
2010-10-28 09:28:45 +00:00
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz)
md5sums=('7624eb7e6b53ea3ce38958a092d2216e')
2010-03-13 07:56:27 +00:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
2010-03-13 07:56:27 +00:00
make || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
}