summaryrefslogtreecommitdiff
path: root/extra/libxkbcommon/PKGBUILD
blob: 802fc9c2d2507a49d6263f0c93ac41d639deaee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # no documentation
  makedepends=(${makedepends[@]//graphviz/})
  makedepends=(${makedepends[@]//doxygen/})

  eval "$(
    declare -f build | \
      sed '
        s/arch-meson/arch-meson -Denable-docs=false/
      '
  )"

  eval "$(
    declare -f package_libxkbcommon | \
      sed '
        /mv.*doc/d
      '
  )"

  eval "$(
    declare -f package_libxkbcommon-doc | \
      sed '
        /mv.*doc/d
      '
  )"
fi