Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/java-openjdk/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-03 13:01:59 +0200
committerErich Eckner <git@eckner.net>2019-07-03 13:01:59 +0200
commite5136b18c607f0e0d71ac0a2734d68896f8838ad (patch)
tree003270bebb0b41c54e875ae63639497d46ba314a /extra/java-openjdk/PKGBUILD
parentacb1feb5c1ff4ded22b90615bc19dab975cbfa13 (diff)
extra/java*-openjdk: unify patches
Diffstat (limited to 'extra/java-openjdk/PKGBUILD')
-rw-r--r--extra/java-openjdk/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/java-openjdk/PKGBUILD b/extra/java-openjdk/PKGBUILD
new file mode 100644
index 00000000..97c72063
--- /dev/null
+++ b/extra/java-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}-}"