Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-05-04 18:34:39 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-05-04 18:34:39 +0200
commit1788b6a0924e18adaee67f2f9ce365691c127d9d (patch)
treeb07a2bddabd5416eb3e126e15e268f8fb64bd8e5
parent93b82d2925866131eaefd3050a1fc9b8dbac47d6 (diff)
core/linux: ignoring makedepends used only for building documentation, do not build documentation
-rw-r--r--core/linux/PKGBUILD18
1 files changed, 18 insertions, 0 deletions
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/})