Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/doxygen/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
committerErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
commitbcb5133554da96e552b4d74fe48d336a80efebed (patch)
treed8a32204cde75836563f405691c83fc21f1fa95a /extra/doxygen/PKGBUILD
parent15cb4dca227b2a7873adc64350601dde8d85f985 (diff)
"if [ $CARCH = ... ]; then depends=..; fi" => "depends_...=..."
Diffstat (limited to 'extra/doxygen/PKGBUILD')
-rw-r--r--extra/doxygen/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/extra/doxygen/PKGBUILD b/extra/doxygen/PKGBUILD
index 24e360d8..72ebfd3a 100644
--- a/extra/doxygen/PKGBUILD
+++ b/extra/doxygen/PKGBUILD
@@ -9,20 +9,24 @@ eval "$(
'
)"
-if [ "${CARCH}" = "i486" ]; then
- # no qt5
- makedepends=(${makedepends[@]//qt5-base/})
+# no qt5 on i486
+makedepends=(${makedepends[@]//qt5-base/})
+makedepends_i686+=(qt5-base)
- # no TeX
- makedepends=(${makedepends[@]//texlive-core/})
- makedepends=(${makedepends[@]//texlive-latexextra/})
+# no TeX on i486
+makedepends=(${makedepends[@]//texlive-core/})
+makedepends=(${makedepends[@]//texlive-latexextra/})
+makedepends_i686+=(texlive-core texlive-latexextra)
- # no Graphviz
- makedepends=(${makedepends[@]//graphviz/})
+# no Graphviz on i486
+makedepends=(${makedepends[@]//graphviz/})
+makedepends_i686+=(graphviz)
- # no ghostscript
- makedepends=(${makedepends[@]//ghostscript/})
+# no ghostscript on i486
+makedepends=(${makedepends[@]//ghostscript/})
+makedepends_i686+=(ghostscript)
+if [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f build | \
sed '