summaryrefslogtreecommitdiff
path: root/extra/libreoffice-fresh/PKGBUILD
blob: 669986212c326a4a3847336c667c0407e516389b (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
# description missing
eval "$(
  declare -f build | \
    sed '
      s|\(make build\)\([;[:space:]]\)|\1-nocheck\2|
      s|--enable-ext-wiki-publisher|--disable-ext-wiki-publisher|
      s|--enable-ext-nlpsolver|--disable-ext-nlpsolver|
    '
)"

# no coin-ormp on i486 (for now, suitesparse has atomic issues)
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//coin-or-mp/})
fi

# ignore mariadb on i486 (for now)
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//mariadb-libs/})
fi

# Java currently broken on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//java-environment=11/})
  makedepends=(${makedepends[@]//ant/})
  makedepends=(${makedepends[@]//junit/})
  makedepends=(${makedepends[@]//beanshell/})
fi

# no KDE/Plasma on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//plasma-framework/})
fi