summaryrefslogtreecommitdiff
path: root/build-support/disabled/libfm-extra/PKGBUILD
blob: 3ee20db841a8ac0c4fc724aae7cda97ec9f9b44b (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
# breaking the cycle with menu-cache on i486
depends=(${depends[@]//menu-cache/})
depends_i686+=(menu-cache)
depends_pentium4=("${depends_i686[@]}")

if [ "$CARCH" = 'i486' ]; then
  eval "$(
    declare -f build | \
      sed '
        s|./configure|./configure --with-extra-only |
        /mv.*\/usr\/bin/d
      '
  )"

  eval "$(
    declare -f package_libfm | \
      sed '
        s/mv\(.*\)/(mv\1) || true/
      '
  )"
  eval "$(
    declare -f package_libfm-gtk2 | \
      sed '
        s/mv\(.*\)/(mv\1) || true/
      '
  )"
  eval "$(
    declare -f package_libfm-gtk3 | \
      sed '
        s/mv\(.*\)/(mv\1) || true/
      '
  )"
fi