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

# 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