diff options
-rw-r--r-- | main/man-pages/APKBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/main/man-pages/APKBUILD b/main/man-pages/APKBUILD index 6e47e38293..1955e56403 100644 --- a/main/man-pages/APKBUILD +++ b/main/man-pages/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=man-pages -pkgver=4.10 +pkgver=4.11 _posixver=2013-a pkgrel=0 pkgdesc="Linux man pages" @@ -10,15 +10,16 @@ arch="noarch" license="GPL" depends="" makedepends="" -options="!strip" +options="!strip !check" source="http://www.kernel.org/pub/linux/docs/$pkgname/$pkgname-$pkgver.tar.xz http://www.kernel.org/pub/linux/docs/$pkgname/$pkgname-posix/$pkgname-posix-${_posixver}.tar.xz " - builddir="$srcdir"/$pkgname-$pkgver + build() { - cd "$srcdir"/$pkgname-$pkgver - mkdir -p "$srcdir"/$pkgname-$pkgver/man0 + cd "$builddir" + + mkdir man0 for sect in 0 1 3; do sed -i "/^\.so /s/man${sect}p/man$sect/" \ "$srcdir"/$pkgname-posix-${_posixver}/man${sect}p/* @@ -28,8 +29,9 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver - make prefix="$pkgdir"/usr install || return 1 + cd "$builddir" + + make prefix="$pkgdir"/usr install find "$pkgdir"/usr/share/man -name "*.[0-9]" | xargs gzip -9 # provided by libiconv-doc @@ -46,5 +48,5 @@ package() { "$pkgdir"/usr/share/man/man8/zdump* } -sha512sums="6c5b8e1339a02054a5346ca3ff665c414ef178e69fe0d064d4ad7dc372ba364df2753bf605a682cc366c12661c42b9fd17567c72a0f24173f9b086d79cf354d4 man-pages-4.10.tar.xz +sha512sums="cc1282467255d5c078b099ab6dbc407c5f56fa66fb3f5789286bc66c98b229cae88bf8afdafa7c9609a37c87cdb1401bb381cec25c64690ab69faf4d00787187 man-pages-4.11.tar.xz e6ec8eb57269fadf368aeaac31b5a98b9c71723d4d5cc189f9c4642d6e865c88e44f77481dccbdb72e31526488eb531f624d455016361687a834ccfcac19fa14 man-pages-posix-2013-a.tar.xz" |