summaryrefslogtreecommitdiffstats
path: root/abs/core/patch/PKGBUILD
blob: 87810d1d45d9f01fd60c42b176885279214b4120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 1438 2008-05-08 17:11:21Z andyrtr $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=patch
pkgver=2.5.9
pkgrel=1
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' 'ed')
source=(ftp://alpha.gnu.org/gnu/diffutils/$pkgname-$pkgver.tar.gz)
	#ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('dacfb618082f8d3a2194601193cf8716')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man
  make || return 1
  make prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man install || return 1
}