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

# 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