From 1788b6a0924e18adaee67f2f9ce365691c127d9d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 4 May 2022 18:34:39 +0200 Subject: core/linux: ignoring makedepends used only for building documentation, do not build documentation --- core/linux/PKGBUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'core') diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index a8f3a66e..5672c689 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -104,3 +104,21 @@ sha256sums+=('d32270be5fd9c3e3ba50f3aef33f6cfcb85be0c8216f03b777287cc621fdff28') source+=('core/linux/acpi-c3.patch') sha256sums+=('fc44aaf0b68abc9502fd4e0f73345c53b756566b532005466b106bacc9f9bc9c') +# temporarily disabled documentation due to sphinx_rtd_theme (FS32#163) +pkgname=( + $( + printf '%s\n' "${pkgname[@]}" | \ + grep -v '^\$pkgbase-docs' + ) +) +eval "$( + declare -f build | \ + sed ' + s/\bhtmldocs\b// + ' +)" +makedepends=(${makedepends[@]//python-sphinx_rtd_theme/}) +makedepends=(${makedepends[@]//python-sphinx/}) +makedepends=(${makedepends[@]//graphviz/}) +makedepends=(${makedepends[@]//imagemagick/}) +makedepends=(${makedepends[@]//texlive-latexextra/}) -- cgit v1.2.3-70-g09d2