summaryrefslogtreecommitdiff
path: root/community/exa/PKGBUILD
blob: 914a7177d3da725036c1510698417fa4b728703c (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
# pandoc is mainly broken currently (FS32#180)
makedepends=(${makedepends[@]//pandoc/})
eval "$(
  declare -f build | \
    sed '
       s/pandoc/#pandoc/
    '
)"
eval "$(
  declare -f package | \
    sed '
       /exa.1/d
       /exa_colors.5/d
    '
)"

# CARCH pentium4 makes compilation fail
if [ "$CARCH" = 'pentium4' ]; then
  eval "$(
    declare -f prepare | \
      sed '
         s/--target "$CARCH-unknown-linux-gnu"/--target "i686-unknown-linux-gnu"/
      '
  )"
fi