summaryrefslogtreecommitdiff
path: root/extra/cmake/PKGBUILD
blob: 2ca8c08f859cc58697fd00164ddfefae8219de1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# no Qt5 GUI on i486
makedepends=(${makedepends[@]//qt5-base/})
makedepends_i686+=(qt5-base)

# 486-specific
if [ "${CARCH}" = "i486" ]; then
  # no Qt5 GUI
  eval "$(
    declare -f build | \
      sed '
        s/--qt-gui//
      '
  )"
fi