From d2ab9fcfe0cb1ac15e27fe3b2fb7119f05881eb3 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 26 Sep 2018 20:32:09 +0200 Subject: core/shadow: disable gnoe for documentation on i486 --- core/shadow/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 core/shadow/PKGBUILD (limited to 'core') diff --git a/core/shadow/PKGBUILD b/core/shadow/PKGBUILD new file mode 100644 index 00000000..ef3f908c --- /dev/null +++ b/core/shadow/PKGBUILD @@ -0,0 +1,26 @@ +# i486-specific +if [ "${CARCH}" = "i486" ]; then + # remove dependency on Gnome's xml2po (needed for building the man pages, + # draws in far too many dependencies) + makedepends=(${makedepends[@]//gnome-doc-utils/}) + + eval "$( + declare -f prepare | \ + sed ' + /autoreconf/ i \ sed -i "/SUBDIRS/s/man//g" Makefile.am + ' + )" + eval "$( + declare -f build | \ + sed ' + s/--enable-man/--disable-man/ + ' + )" + eval "$( + declare -f package | \ + sed ' + /find.*man/d + /rmdir.*man/d + ' + )" +fi -- cgit v1.2.3-70-g09d2