summaryrefslogtreecommitdiff
path: root/extra/wayland
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
committerErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
commitbcb5133554da96e552b4d74fe48d336a80efebed (patch)
treed8a32204cde75836563f405691c83fc21f1fa95a /extra/wayland
parent15cb4dca227b2a7873adc64350601dde8d85f985 (diff)
downloadpackages-bcb5133554da96e552b4d74fe48d336a80efebed.tar.xz
"if [ $CARCH = ... ]; then depends=..; fi" => "depends_...=..."
Diffstat (limited to 'extra/wayland')
-rw-r--r--extra/wayland/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/wayland/PKGBUILD b/extra/wayland/PKGBUILD
index e4e996bc..e2df8a75 100644
--- a/extra/wayland/PKGBUILD
+++ b/extra/wayland/PKGBUILD
@@ -1,10 +1,13 @@
+# no documentation on i486
+makedepends=(${makedepends[@]//graphviz/})
+makedepends=(${makedepends[@]//doxygen/})
+makedepends=(${makedepends[@]//xmlto/})
+makedepends=(${makedepends[@]//docbook-xsl/})
+makedepends_i686+=(graphviz doxygen xmlto docbook-xsl)
+
# 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 | \