void-packages/srcpkgs/openjdk/template
Đoàn Trần Công Danh 7cdbb68474 openjdk: split to an metapackage
- remove its noarch attribute without rebuilding openjdk8
2020-11-30 04:30:21 +01:00

25 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"
}