blob: 13431a0e8aaf48e4ac018948bd7375ab73ca21de (
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
|
# no clue what this is doing?
eval "$(
declare -f package_doxygen | \
sed '
2 a arch=('"${arch[*]}"')
'
declare -f package_doxygen-doc | \
sed '
2 a arch=(any)
'
)"
# no documentation build on i486 (no TeX)
makedepends=(${makedepends[@]//texlive-core/})
makedepends=(${makedepends[@]//texlive-latexextra/})
makedepends_i686+=(texlive-core texlive-latexextra)
makedepends_pentium4+=(texlive-core texlive-latexextra)
if [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f build | \
sed '
/make.*docs/d
s|-Dbuild_doc:BOOL=ON|-Dbuild_doc:BOOL=OFF|
'
)"
unset check
fi
|