diff options
Diffstat (limited to 'main/patch/APKBUILD')
-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 } |