blob: 2552462bd79e70afb60a6ce8a80a4deedd08ed56 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# cmake requires expat but upstream don't seem to include it
depends+=('expat')
if [[ $CARCH = 'i486' ]]; then
# do not build in parallel on build slaves
eval "$(
declare -f build | \
sed '
s/--parallel=.*/--parallel=1/
'
)"
# ignore gui (for now, needs Qt6, which needs atomics)
makedepends=(${makedepends[@]//qt6-base/})
eval "$(
declare -f build | \
sed '
s/--qt-gui//
'
)"
# disable documentation (python is somewhat broken currently)
makedepends=(${makedepends[@]//python-sphinx/})
eval "$(
declare -f build | \
sed '
s/--sphinx-man//
s/--sphinx-html//
'
declare -f package | \
sed '
/html\/_sources/d
'
)"
# emacs is broken currently
makedepends=(${makedepends[@]//emacs/})
eval "$(
declare -f package | \
sed '
/emacs/d
'
)"
fi
# git checkout with checksum upstream, works maybe in pacman 7.0.0?
sha512sums[0]='SKIP'
|