summaryrefslogtreecommitdiff
path: root/extra/graphite/PKGBUILD
blob: 8d8caf4b8821e93d3a1ccaa1c79ebd53ec503ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# drop "docdepends" on i486

makedepends_i686=('doxygen' 'dblatex' 'graphviz' 'asciidoc')
makedepends_pentium4=("${makedepends_i686[@]}")
makedepends=(
  $(
    printf '%s\n' "${makedepends[@]}" \
    | grep -vxF "$(printf '%s\n' "${makedepends_i686[@]}")"
  )
)
eval "$(
  declare -f build package \
  | sed '
    /doc/ s/^/[ "${CARCH}" = i486 ] || /
  '
)"