Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libgda/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libgda/PKGBUILD')
-rw-r--r--extra/libgda/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/libgda/PKGBUILD b/extra/libgda/PKGBUILD
new file mode 100644
index 00000000..8ec2208e
--- /dev/null
+++ b/extra/libgda/PKGBUILD
@@ -0,0 +1,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
+ '
+)
+"