aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-24 08:36:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-24 08:36:06 +0000
commit816375d72caa54846fa92ee50e494025f65c34df (patch)
tree76656e82eb4f8f8f558c89cd64ad538eb87f7944
parentf1bcab9d6b4dde65822f10496c3d6a8c39fb04ff (diff)
downloadaports-816375d72caa54846fa92ee50e494025f65c34df.tar.bz2
aports-816375d72caa54846fa92ee50e494025f65c34df.tar.xz
main/patch: upgrade to 2.6
-rw-r--r--main/patch/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD
index 8e4691db72..699bd08a6a 100644
--- a/main/patch/APKBUILD
+++ b/main/patch/APKBUILD
@@ -1,12 +1,12 @@
# 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"