Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/shadow
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-09-26 20:32:09 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-09-26 20:32:09 +0200
commitd2ab9fcfe0cb1ac15e27fe3b2fb7119f05881eb3 (patch)
tree8601b75fde33f82a7dc250ff56edde7de3a3a00a /core/shadow
parent8d132b0ea8c179afbe165d4c4f7414d4ef7ddd10 (diff)
core/shadow: disable gnoe for documentation on i486
Diffstat (limited to 'core/shadow')
-rw-r--r--core/shadow/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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