Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libreoffice-still/PKGBUILD
blob: 9d0822a16db04f280993859adaf96316228449b7 (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
# 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

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

# no LTO
eval "$(
  declare -f build | \
    sed '
      s/--enable-lto/--disable-lto/
    '
)"