Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/subversion/PKGBUILD
blob: 84b930e29ef85772d6ecd08773c67ff0dffcfc31 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# no Java bindings on i486
makedepends=(${makedepends[@]//java-environment<10/})
makedepends_i686+=('java-environment<10')

# no Ruby bindings on i486
makedepends=(${makedepends[@]//ruby/})
checkdepends=(${checkdepends[@]//ruby-test-unit/})
makedepends_i686+=(ruby)
checkdepends_i686+=(ruby-test-unit)

# no KDE gui on i486
makedepends=(${makedepends[@]//kdelibs4support/})
makedepends=(${makedepends[@]//kwallet/})
makedepends_i686+=(kdelibs4support kwallet)

# no Gnome gui on i486
makedepends=(${makedepends[@]//libgnome-keyring/})
makedepends_i686+=(libgnome-keyring)

makedepends_pentium4=("${makedepends_i686[@]}")

# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # no Java bindings
  eval "$(
    declare -f build | \
      sed '
        s@--enable-javahl@--disable-javahl@
        s@--with-jdk=/usr/lib/jvm/default@@
        /make/s/javahl//
      '
  )"
  eval "$(
    declare -f package | \
      sed '
        /make/s/install-javahl//
      '
  )"

  # no Ruby bindings
  eval "$(
    declare -f build | \
      sed '
        s@--with-ruby-sitedir=/usr/lib/ruby/vendor_ruby@@
        /make/s/swig-rb//
      '
  )"
  eval "$(
    declare -f check | \
      sed '
        /make/s/check-swig-rb//
      '
  )"
  eval "$(
    declare -f package | \
      sed '
        /make/s/install-swig-rb//
      '
  )"

  # no KDE gui
  eval "$(
    declare -f build | \
      sed '
        s@--with-kwallet@@
      '
  )"

  # no Gnome gui
  eval "$(
    declare -f build | \
      sed '
        s@--with-gnome-keyring@@
        s@--with-jdk=/usr/lib/jvm/default@@
      '
  )"

fi