mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
24 lines
772 B
Bash
24 lines
772 B
Bash
# $Id: PKGBUILD 62841 2010-01-13 01:57:24Z allan $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Contributor: judd <jvinet@zeroflux.org>
|
|
|
|
pkgname=patch
|
|
pkgver=2.6.1
|
|
pkgrel=2
|
|
pkgdesc="A utility to apply patch files to original sources"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/patch/patch.html"
|
|
license=('GPL')
|
|
groups=('base-devel')
|
|
depends=('glibc')
|
|
optdepends=('ed: Interpret the patch as an ed script; for patch -e functionality(deprecated)')
|
|
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('d758eb96d3f75047efc004a720d33daf')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --mandir=/usr/share/man
|
|
make || return 1
|
|
make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install || return 1
|
|
}
|