mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-09 13:32:55 +02:00
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.
12 lines
319 B
Bash
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
|
|
}
|