Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/java11-openjdk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/java11-openjdk/PKGBUILD')
-rw-r--r--extra/java11-openjdk/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/java11-openjdk/PKGBUILD b/extra/java11-openjdk/PKGBUILD
new file mode 100644
index 00000000..97c72063
--- /dev/null
+++ b/extra/java11-openjdk/PKGBUILD
@@ -0,0 +1,12 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ _JARCH=i386
+fi
+
+# pentium4-specific
+if [ "${CARCH}" = "pentium4" ]; then
+ _JARCH=i386
+ _DOC_ARCH=x86
+fi
+
+_imgdir="${_imgdir//--/-${_JARCH}-}"