summaryrefslogtreecommitdiff
path: root/extra/libproxy/PKGBUILD
blob: 53b874294b4287f445a752d5766ab496045c7828 (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
# skip webkit2gtk on i486 - we don't have that there
makedepends=(${makedepends[@]/webkit2gtk/})
_oifs="${IFS}"
IFS=$(printf '\n')
optdepends=(${optdepends[@]/webkit2gtk:*/})
IFS="${_oifs}"

makedepends_i686=(webkit2gtk)
makedepends_pentium4=(webkit2gtk)
optdepends_i686=('webkit2gtk: PAC proxy support (Webkit2gtk engine)')
optdepends_pentium4=('webkit2gtk: PAC proxy support (Webkit2gtk engine)')

if [ "${CARCH}" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        /cmake / s,\( -DWITH_WEBKIT3=\)ON,\1OFF,
      '
    declare -f package | \
      sed '
        /zenmap/d
      '
  )"
fi