Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/libgda/PKGBUILD
blob: 49d7e030005728bf61af73e4fcaa5ffed32295a4 (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
# backported java probing patch for i386
source+=('java.patch')
sha256sums+=('e28ea88d49bcb91fa6907440a6785a508fb681c463188b3805509773f5d0fc22')

eval "$(
  declare -f prepare | \
    sed '
      /autogen/ i \
        patch -Np1 -i "$srcdir/java.patch" \
        javac getsp.java
    '
)"

# no mysql yet on i486
if [ "${CARCH}" = "i486" ]; then
  makedepends=(${makedepends[@]//mariadb-libs/})
  eval "$(
    declare -f package_libgda | \
      sed '
        /provider/s/mysql//
      '
    declare -f package_libgda-mysql | \
      sed '
        3 i if false; then
        $ i fi
      '
  )
  "
fi

# no firebird
eval "$(
  declare -f package_libgda | \
    sed '
      /provider/s/firebird//
    '
  declare -f package_libgda-firebird | \
    sed '
      3 i if false; then
      $ i fi
    '
)
"