blob: d98d03348d69a7186edafadc0b96bc35d1a8e9ab (
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
|
unset check
# do not build gvim on i486 - no gtk3 and no libcanberra
makedepends=(
$(
echo "${makedepends[@]}" \
| tr -s ' ' '\n' \
| grep -vxF 'gtk3' \
| grep -vxF 'libcanberra'
)
)
makedepends_i686=(gtk3 libcanberra)
makedepends_pentium4=("${makedepends_i686[@]}")
eval "$(
declare -f prepare \
| sed '
/gvim/ s/^/[ "${CARCH}" = i486 ] || /
'
declare -f build \
| sed '
/cd gvim/ s/^/[ "${CARCH}" = i486 ] || /
'
declare -f package_gvim \
| sed '
/cd gvim/ i [ "${CARCH}" != i486 ] || { unset depends; return 0; }
'
)"
|