diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-13 10:38:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-13 10:38:34 +0000 |
commit | 8a8e33675369b6643896361f42b037a149e01c58 (patch) | |
tree | 221ab425a4860fce8c5141b40743e21352478da1 /main/patch | |
parent | 090e980360e5d0f8fee19231ebf091e3a032594c (diff) | |
download | aports-8a8e33675369b6643896361f42b037a149e01c58.tar.bz2 aports-8a8e33675369b6643896361f42b037a149e01c58.tar.xz |
main/patch: upgrade to 2.6.1
Diffstat (limited to 'main/patch')
-rw-r--r-- | main/patch/APKBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD index 699bd08a6..7090ee485 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 } |