summaryrefslogtreecommitdiff
path: root/community/moreutils/PKGBUILD
blob: 03d16d0f5652f574c7b51c72b73ff2ddec131e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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