summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/wayland/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/wayland/PKGBUILD b/extra/wayland/PKGBUILD
index 98507e0c..e4e996bc 100644
--- a/extra/wayland/PKGBUILD
+++ b/extra/wayland/PKGBUILD
@@ -5,5 +5,27 @@ if [ "${CARCH}" = "i486" ]; then
makedepends=(${makedepends[@]//doxygen/})
makedepends=(${makedepends[@]//xmlto/})
makedepends=(${makedepends[@]//docbook-xsl/})
+
+ eval "$(
+ declare -f build | \
+ sed '
+ s/configure/configure --disable-documentation/
+ '
+ )"
+
+ eval "$(
+ declare -f package_wayland | \
+ sed '
+ /mv.*doc,man/d
+ '
+ )"
+
+ eval "$(
+ declare -f package_wayland-docs | \
+ sed '
+ /mv.*docs/d
+ '
+ )"
+
fi