aboutsummaryrefslogtreecommitdiffstats
path: root/main/patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-13 10:38:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-13 10:38:34 +0000
commit8a8e33675369b6643896361f42b037a149e01c58 (patch)
tree221ab425a4860fce8c5141b40743e21352478da1 /main/patch
parent090e980360e5d0f8fee19231ebf091e3a032594c (diff)
downloadaports-8a8e33675369b6643896361f42b037a149e01c58.tar.bz2
aports-8a8e33675369b6643896361f42b037a149e01c58.tar.xz
main/patch: upgrade to 2.6.1
Diffstat (limited to 'main/patch')
-rw-r--r--main/patch/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD
index 699bd08a6a..7090ee4852 100644
--- a/main/patch/APKBUILD
+++ b/main/patch/APKBUILD
@@ -1,24 +1,25 @@
# 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
}