Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/doxygen/PKGBUILD
blob: 9152a88c164a42740cfa8300ce503493ac636df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if [ "${CARCH}" = "i486" ]; then
  # no qt5
  makedepends=(${makedepends[@]//qt5-base/})

  # no TeX
  makedepends=(${makedepends[@]//texlive-core/})
  makedepends=(${makedepends[@]//texlive-latexextra/})

  # no Graphviz
  makedepends=(${makedepends[@]//graphviz/})

  # no ghostscript
  makedepends=(${makedepends[@]//ghostscript/})

  eval "$(
    declare -f build | \
      sed '
        /make docs/d
        s|-Dbuild_doc:BOOL=ON|-Dbuild_doc:BOOL=OFF|
        s|-Dbuild_wizard:BOOL=ON|-Dbuild_wizard:BOOL=OFF|
      '
  )"
fi