summaryrefslogtreecommitdiff
path: root/extra/wayland/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wayland/PKGBUILD')
-rw-r--r--extra/wayland/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/wayland/PKGBUILD b/extra/wayland/PKGBUILD
new file mode 100644
index 00000000..e4e996bc
--- /dev/null
+++ b/extra/wayland/PKGBUILD
@@ -0,0 +1,31 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no documentation
+ makedepends=(${makedepends[@]//graphviz/})
+ 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
+