summaryrefslogtreecommitdiff
path: root/extra/cups/PKGBUILD
blob: d6691db8498806190ef7da5d9ebbbffd2179d33c (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
makedepends_i686=(
  $(
    printf '%s\n' "${makedepends[@]}" \
    | grep -xF "$(
      printf '%s\n' avahi cups-filters
    )"
  )
)
makedepends_pentium4=(
  "${makedepends_i686[@]}"
)
makedepends=(
  $(
    printf '%s\n' "${makedepends[@]}" \
    | grep -vxF "$(
      printf '%s\n' avahi cups-filters
    )"
  )
)
eval "$(
  declare -f package_cups \
  | sed '
    /desktop/ s/^/[ "${CARCH}" = i486 ] || /
  '
  declare -f package_libcups \
  | sed '
    /depends=/ {
      s/'"'"'avahi'"'"'//
      T
      a depends_i686=(avahi); depends_pentium4=(avahi)
    }
  '
)"