#!/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 }