Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/moreutils
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-14 15:27:16 +0200
committerErich Eckner <git@eckner.net>2018-09-14 15:27:16 +0200
commit9ebc8507d3145fbb01da4976e8a7c4fbaea195ee (patch)
tree953e8f605857534ac0cc08dfbed6dd63429af342 /community/moreutils
parent132760a66d006c23ba9537245b0c323910fc03ca (diff)
parent676e15c2a724ac1941e9e757f30d65a0ef9fa313 (diff)
Merge remote-tracking branch 'origin/i486' into i486
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