summaryrefslogtreecommitdiff
path: root/system/man-pages
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-02 00:15:04 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-03 21:56:53 -0500
commitb2d2672c057e8f5d802f4d89662c871b2429e777 (patch)
tree54097a23ba5f7908987782c639945d32c2723885 /system/man-pages
parentdcd477740a6483beb0aa5921fb11e7bac62b2615 (diff)
downloadpackages-b2d2672c057e8f5d802f4d89662c871b2429e777.tar.gz
packages-b2d2672c057e8f5d802f4d89662c871b2429e777.tar.bz2
packages-b2d2672c057e8f5d802f4d89662c871b2429e777.tar.xz
packages-b2d2672c057e8f5d802f4d89662c871b2429e777.zip
system/man-pages: Only auto-install with docs
system/build-tools does not need man-pages unless docs are requested. This will save significant space and time when creating small build roots. Fixes: #1064
Diffstat (limited to 'system/man-pages')
-rw-r--r--system/man-pages/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/man-pages/APKBUILD b/system/man-pages/APKBUILD
index 8cd1c890e..2ee5c69f1 100644
--- a/system/man-pages/APKBUILD
+++ b/system/man-pages/APKBUILD
@@ -3,7 +3,7 @@
pkgname=man-pages
pkgver=5.13
_posixver=2017
-pkgrel=0
+pkgrel=1
pkgdesc="Linux man pages"
url="https://www.kernel.org/doc/man-pages/"
arch="noarch"
@@ -11,6 +11,7 @@ options="!strip !check" # just manpages
license="GPL-2.0+ AND POSIX"
depends=""
makedepends=""
+install_if="docs build-tools"
source="https://cdn.kernel.org/pub/linux/docs/$pkgname/Archive/$pkgname-$pkgver.tar.xz
https://cdn.kernel.org/pub/linux/docs/$pkgname/$pkgname-posix/$pkgname-posix-${_posixver}-a.tar.xz
"