void-packages/srcpkgs/openjdk/template

26 lines
572 B
Bash

# Template file for 'openjdk'
pkgname=openjdk
version=8u999
revision=1
build_style=meta
depends="openjdk${version%u*}"
short_desc="OpenJDK Java Development Kit (meta)"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="metapackage"
homepage="https://voidlinux.org"
openjdk-jre_package() {
short_desc+=" - runtime components"
depends="openjdk${version%u*}-jre"
}
openjdk-src_package() {
short_desc+=" - source code"
depends="openjdk${version%u*}-src"
}
openjdk-doc_package() {
short_desc+=" - documentation"
depends="openjdk${version%u*}-doc"
}