Commit 8a8e3367 authored by Natanael Copa's avatar Natanael Copa

main/patch: upgrade to 2.6.1

parent 090e9803
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=patch
pkgver=2.6
pkgver=2.6.1
pkgrel=0
pkgdesc="Utility to apply diffs to files"
url="http://www.gnu.org/software/patch/patch.html"
license='GPL'
depends=
source="ftp://ftp.gnu.org/gnu/patch/patch-2.6.tar.bz2"
subpackages="$pkgname-doc"
_builddir="$srcdir"/$pkgname-2.6
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure --prefix=/usr \
--mandir=/usr/share/man
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install
}
......
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