summaryrefslogtreecommitdiff
path: root/extra/libxkbcommon/PKGBUILD
blob: d5c1d607ec723978ed829bebd8f5814eaa6dcca4 (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
29
30
31
# no documentation on i486
makedepends=(${makedepends[@]//graphviz/})
makedepends=(${makedepends[@]//doxygen/})
makedepends_i686+=(graphviz doxygen)

# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # no documentation

  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