aboutsummaryrefslogtreecommitdiffstats
path: root/main/patch/APKBUILD
blob: 8e4691db72f69b0f710da5636f9aa0963388a27d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=patch
pkgver=2.5.9
pkgrel=0
pkgdesc="Utility to apply diffs to files"
url="http://www.gnu.org/software/patch/patch.html"
license='GPL'
depends=
source=http://alpha.gnu.org/gnu/diffutils/$pkgname-$pkgver.tar.gz

subpackages="$pkgname-doc"

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
}

md5sums='dacfb618082f8d3a2194601193cf8716  patch-2.5.9.tar.gz'