From 1c5d6c86f26d2318358469edcac7d8714025ae23 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 28 Sep 2018 21:50:55 +0200 Subject: extra/libxkbcommon: temporary no docu on i486 for systemd bootstrapping --- extra/libxkbcommon/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 extra/libxkbcommon/PKGBUILD (limited to 'extra/libxkbcommon') 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 + -- cgit v1.2.3-70-g09d2