Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libxkbcommon/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-21 09:49:32 +0100
committerErich Eckner <git@eckner.net>2019-01-21 09:49:32 +0100
commit190caffff9a5355a9a31872b800d75bab0fa31ea (patch)
treefa8b0d2d75d7a0bd4e75edac2c5fb2675811364e /extra/libxkbcommon/PKGBUILD
parentd96f0a09ff22495dba2f19cb05d463d4671fd64d (diff)
parent0653374c47a5c1679d86cfbe251d258151fa018f (diff)
Merge branch 'master' into i486
Diffstat (limited to 'extra/libxkbcommon/PKGBUILD')
-rw-r--r--extra/libxkbcommon/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/libxkbcommon/PKGBUILD b/extra/libxkbcommon/PKGBUILD
new file mode 100644
index 00000000..802fc9c2
--- /dev/null
+++ b/extra/libxkbcommon/PKGBUILD
@@ -0,0 +1,28 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no documentation
+ makedepends=(${makedepends[@]//graphviz/})
+ makedepends=(${makedepends[@]//doxygen/})
+
+ eval "$(
+ declare -f build | \
+ sed '
+ s/arch-meson/arch-meson -Denable-docs=false/
+ '
+ )"
+
+ eval "$(
+ declare -f package_libxkbcommon | \
+ sed '
+ /mv.*doc/d
+ '
+ )"
+
+ eval "$(
+ declare -f package_libxkbcommon-doc | \
+ sed '
+ /mv.*doc/d
+ '
+ )"
+fi
+