From b2d2672c057e8f5d802f4d89662c871b2429e777 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 2 Oct 2023 00:15:04 -0500 Subject: 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 --- system/man-pages/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'system/man-pages/APKBUILD') 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 " -- cgit v1.2.3-60-g2f50