Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/moreutils
diff options
context:
space:
mode:
Diffstat (limited to 'community/moreutils')
-rw-r--r--community/moreutils/PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/moreutils/PKGBUILD b/community/moreutils/PKGBUILD
new file mode 100644
index 00000000..03d16d0f
--- /dev/null
+++ b/community/moreutils/PKGBUILD
@@ -0,0 +1,16 @@
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no documentation
+ makedepends=(${makedepends[@]//docbook2x/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/DOCBOOK2XMAN=docbook2man/DOCBOOK2XMAN=true/
+ '
+ declare -f package | \
+ sed '
+ s/\(make.*install\)/\1 || true/
+ /mv.*man*/d
+ '
+ )"
+fi