summaryrefslogtreecommitdiff
path: root/community/exa/PKGBUILD
blob: c1be64240bbb5b1909030185597218354f5d8616 (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
# rust currenly broken, use rust159-bin for now till we can rebuild rust
# with rust159-bin
makedepends=(${makedepends[@]//cargo/})
makedepends+=(rust159-bin)

# 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