void-packages/srcpkgs/openjdk-common/template
classabbyamp dcbd1f1067 New package: openjdk-common-1
Replaces the xbps trigger that added the profile script for openjdk,
which was really a mistake.

Instead of using alternative groups for specific JRE/JDK binaries, use
two symlinks: /usr/lib/jvm/default-jdk and /usr/lib/jvm/default-jre,
which point to /usr/lib/jvm/${version}. Prefer default-jdk to default-jre,
and just add them to PATH and MANPATH instead of putting things in /usr/bin.
2023-12-24 08:39:52 -05:00

12 lines
319 B
Bash

# Template file for 'openjdk-common'
pkgname=openjdk-common
version=1
revision=1
short_desc="Common files for OpenJDK packages"
maintainer="classabbyamp <void@placeviolette.net>"
license="Public Domain"
homepage="https://www.voidlinux.org"
do_install() {
vinstall "${FILESDIR}"/profile.sh 644 /etc/profile.d jdk.sh
}