summaryrefslogtreecommitdiff
path: root/extra/wayland/PKGBUILD
blob: e4e996bca00fd2f40a4d8eda190a06ceab23ed3d (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
# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # no documentation
  makedepends=(${makedepends[@]//graphviz/})
  makedepends=(${makedepends[@]//doxygen/})
  makedepends=(${makedepends[@]//xmlto/})
  makedepends=(${makedepends[@]//docbook-xsl/})

  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