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/build-tools/APKBUILD | 5 ++--- system/man-pages/APKBUILD | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/system/build-tools/APKBUILD b/system/build-tools/APKBUILD index f5671491e..c6f066e59 100644 --- a/system/build-tools/APKBUILD +++ b/system/build-tools/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: A. Wilcox pkgname=build-tools pkgver=1.0 -pkgrel=10 +pkgrel=11 pkgdesc="Meta-package for user development utilities" url="https://adelielinux.org/" arch="noarch" @@ -16,8 +16,7 @@ depends="bash gettext-tiny gettext-tiny-dev bzip2 gzip unzip xz abuild" [ "${CBUILD}" != "${CHOST}" ] || depends="$depends - git - man-pages" + git" makedepends="" makedepends_host="$depends" options="!check" 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-70-g09d2