summaryrefslogtreecommitdiff
path: root/extra/fontconfig/PKGBUILD
blob: 793289192a09c30fa40ffdadc273e0208aa0f29c (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
# fontconfig documentation doesn't build corrently (and is marked
# out-of-date upstream)

eval "$(
  declare -f build | \
    sed '
      s|./configure|./configure --disable-docs|g
    '
  declare -f package_fontconfig | \
    sed '
      /mkdir.*doc.*/d
      /mv.*doc.*/d
      /mv.*man.*/d
    '
  declare -f package_fontconfig-docs | \
    sed '
      /mv.*doc.*/d
    '
  )
"

# tests failing on i486
if [ "$CARCH" = 'i486' ]; then
  unset check
fi