summaryrefslogtreecommitdiff
path: root/repo/adoptopenjdk8/adoptopenjdk8.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-05-17 17:02:25 +0000
committerdavidovski <david@davidovski.xyz>2023-05-17 17:03:10 +0000
commita5ee6fa1836ed3986be333d6c9b4eed8d639636b (patch)
treeea481e4c98374c67be4188e99c297c36402ad346 /repo/adoptopenjdk8/adoptopenjdk8.xibuild
parent0d37a1ef234c38b27faba43bc3a22f985d311deb (diff)
Add schroot
Diffstat (limited to 'repo/adoptopenjdk8/adoptopenjdk8.xibuild')
-rw-r--r--repo/adoptopenjdk8/adoptopenjdk8.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/adoptopenjdk8/adoptopenjdk8.xibuild b/repo/adoptopenjdk8/adoptopenjdk8.xibuild
new file mode 100644
index 0000000..645ee87
--- /dev/null
+++ b/repo/adoptopenjdk8/adoptopenjdk8.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="adoptopenjdk8"
+DESC="AdoptOpenJDK Java 8 binaries"
+
+MAKEDEPS="make "
+DEPS="default-jvm less "
+
+PKG_VER=8
+RELEASE=u372b07
+SOURCE="https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u372-b07/OpenJDK${PKG_VER%%.*}U-jdk_x64_alpine-linux_hotspot_${PKG_VER}${RELEASE}.tar.gz"
+
+package () {
+ out=$PKG_DEST/usr/lib/jvm/$NAME
+ mkdir -p $out
+ for f in NOTICE bin conf include jmods legal lib man release; do
+ mv $f $out/
+ done
+}
+
+postinstall () {
+ default-jvm || default-jvm $NAME
+}