summaryrefslogtreecommitdiff
path: root/system
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
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')
-rw-r--r--system/build-tools/APKBUILD5
-rw-r--r--system/man-pages/APKBUILD3
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 <awilfox@adelielinux.org>
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
"