summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-09-28 21:50:55 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-09-28 21:50:55 +0200
commit1c5d6c86f26d2318358469edcac7d8714025ae23 (patch)
tree4a865db7c2f327a27bde6f247da77cba5e211c77
parentb47b2c222c0ddbaecd58fbaa9aea645a60634bab (diff)
downloadpackages-1c5d6c86f26d2318358469edcac7d8714025ae23.tar.xz
extra/libxkbcommon: temporary no docu on i486 for systemd bootstrapping
-rw-r--r--extra/libxkbcommon/PKGBUILD31
-rw-r--r--extra/wayland/PKGBUILD9
2 files changed, 40 insertions, 0 deletions
diff --git a/extra/libxkbcommon/PKGBUILD b/extra/libxkbcommon/PKGBUILD
new file mode 100644
index 00000000..e4e996bc
--- /dev/null
+++ b/extra/libxkbcommon/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
+
diff --git a/extra/wayland/PKGBUILD b/extra/wayland/PKGBUILD
new file mode 100644
index 00000000..98507e0c
--- /dev/null
+++ b/extra/wayland/PKGBUILD
@@ -0,0 +1,9 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no documentation
+ makedepends=(${makedepends[@]//graphviz/})
+ makedepends=(${makedepends[@]//doxygen/})
+ makedepends=(${makedepends[@]//xmlto/})
+ makedepends=(${makedepends[@]//docbook-xsl/})
+fi
+