summaryrefslogtreecommitdiff
path: root/extra/wayland/PKGBUILD
blob: e2df8a754b0f5aa54e5241ac8f9338123f2b585f (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
33
34
# no documentation on i486
makedepends=(${makedepends[@]//graphviz/})
makedepends=(${makedepends[@]//doxygen/})
makedepends=(${makedepends[@]//xmlto/})
makedepends=(${makedepends[@]//docbook-xsl/})
makedepends_i686+=(graphviz doxygen xmlto docbook-xsl)

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

  eval "$(
    declare -f build | \
      sed '
        s/configure/configure --disable-documentation/
      '
  )"

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

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

fi