mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-25 02:52:16 +08:00
28 lines
698 B
Bash
28 lines
698 B
Bash
# $Id: PKGBUILD 79537 2010-05-04 12:05:07Z allan $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
pkgname=diffutils
|
|
pkgver=3.0
|
|
pkgrel=1
|
|
pkgdesc="Utility programs used for creating patch files"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/diffutils"
|
|
license=('GPL3')
|
|
groups=('base')
|
|
depends=('glibc' 'sh')
|
|
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
|
|
}
|