summaryrefslogtreecommitdiff
path: root/community/libgda/PKGBUILD
blob: 8ec2208e49389acbc3bdcff6c8b1a4cb5567a9db (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
# 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 firebird
eval "$(
  declare -f package_libgda | \
    sed '
      /provider/s/firebird//
    '
  declare -f package_libgda-firebird | \
    sed '
      3 i if false; then
      $ i fi
    '
)
"