Commit 816375d7 authored by Natanael Copa's avatar Natanael Copa

main/patch: upgrade to 2.6

parent f1bcab9d
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=patch
pkgver=2.5.9
pkgver=2.6
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
source="ftp://ftp.gnu.org/gnu/patch/patch-2.6.tar.bz2"
subpackages="$pkgname-doc"
......@@ -15,7 +15,11 @@ build() {
./configure --prefix=/usr \
--mandir=/usr/share/man
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install
}
md5sums='dacfb618082f8d3a2194601193cf8716 patch-2.5.9.tar.gz'
md5sums="5729b1430ba6c2216e0f3eb18f213c81 patch-2.6.tar.bz2"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment