summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-09-14 11:56:59 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-09-14 11:56:59 +0200
commit676e15c2a724ac1941e9e757f30d65a0ef9fa313 (patch)
treee90bb8fda605af76419d6753ae7310985d48d5f0
parent738f77299e1bde7ebce1eb429ddf98fadd491134 (diff)
downloadpackages-676e15c2a724ac1941e9e757f30d65a0ef9fa313.tar.xz
community/moreutils: i486 no dou patch
-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