From 676e15c2a724ac1941e9e757f30d65a0ef9fa313 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 14 Sep 2018 11:56:59 +0200 Subject: community/moreutils: i486 no dou patch --- community/moreutils/PKGBUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 community/moreutils/PKGBUILD (limited to 'community') 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 -- cgit v1.2.3-70-g09d2