diff --git a/srcpkgs/openjdk b/srcpkgs/openjdk deleted file mode 120000 index aa84827234..0000000000 --- a/srcpkgs/openjdk +++ /dev/null @@ -1 +0,0 @@ -openjdk8 \ No newline at end of file diff --git a/srcpkgs/openjdk-doc b/srcpkgs/openjdk-doc index aa84827234..9437a0d174 120000 --- a/srcpkgs/openjdk-doc +++ b/srcpkgs/openjdk-doc @@ -1 +1 @@ -openjdk8 \ No newline at end of file +openjdk \ No newline at end of file diff --git a/srcpkgs/openjdk-jre b/srcpkgs/openjdk-jre index aa84827234..9437a0d174 120000 --- a/srcpkgs/openjdk-jre +++ b/srcpkgs/openjdk-jre @@ -1 +1 @@ -openjdk8 \ No newline at end of file +openjdk \ No newline at end of file diff --git a/srcpkgs/openjdk-src b/srcpkgs/openjdk-src index aa84827234..9437a0d174 120000 --- a/srcpkgs/openjdk-src +++ b/srcpkgs/openjdk-src @@ -1 +1 @@ -openjdk8 \ No newline at end of file +openjdk \ No newline at end of file diff --git a/srcpkgs/openjdk/template b/srcpkgs/openjdk/template new file mode 100644 index 0000000000..aeb860a985 --- /dev/null +++ b/srcpkgs/openjdk/template @@ -0,0 +1,25 @@ +# 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 " +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" +} diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template index 80b2b88331..30b7fdd313 100644 --- a/srcpkgs/openjdk8/template +++ b/srcpkgs/openjdk8/template @@ -284,31 +284,3 @@ openjdk8-doc_package() { vmove ${_final_jdk_home}/man/man1 } } - -openjdk_package() { - archs=noarch - build_style=meta - depends="openjdk8>=${version}_${revision}" - short_desc+=" (transitional dummy package)" -} - -openjdk-jre_package() { - archs=noarch - build_style=meta - depends="openjdk8-jre>=${version}_${revision}" - short_desc+=" - runtime components (transitional dummy package)" -} - -openjdk-src_package() { - archs=noarch - build_style=meta - depends="openjdk8-src>=${version}_${revision}" - short_desc+=" - source code (transitional dummy package)" -} - -openjdk-doc_package() { - archs=noarch - build_style=meta - depends="openjdk8-doc>=${version}_${revision}" - short_desc+=" - documentation (transitional dummy package)" -}