From ee93fbc2bb111cf895ae00cc1877c68f0eafaf2a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 21 Mar 2024 01:00:11 +0000 Subject: gentoo auto-resync : 21:03:2024 - 01:00:11 --- dev-lang/closure-compiler-bin/Manifest | 2 + .../closure-compiler-bin-20240317.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-lang/closure-compiler-bin/closure-compiler-bin-20240317.ebuild (limited to 'dev-lang/closure-compiler-bin') diff --git a/dev-lang/closure-compiler-bin/Manifest b/dev-lang/closure-compiler-bin/Manifest index b923cd1196c8..69ced9bd327c 100644 --- a/dev-lang/closure-compiler-bin/Manifest +++ b/dev-lang/closure-compiler-bin/Manifest @@ -1,3 +1,5 @@ DIST closure-compiler-v20231112.jar 14084315 BLAKE2B e56777723c2c306d8c7ddb700778bc2cea9c96967f17d78e4e3dc31e9dcf1debe73ec6ff1b54b1b89f7407add12c3c16ebe4111b397bfca85d695278744db69f SHA512 e07ff9f57cf7672a79bc72fc8d5f447134df3009b72e50b7bbba644ebb6cbc080b3870f0dd7a47aa85a0b7d1b2e26bbeb0b4d057864e3d29fb5249c1ec8e3e13 +DIST closure-compiler-v20240317.jar 13984957 BLAKE2B cc9fd9e7dca6a95e62fe6d922dfad90d654ddddf15cd001c75a60ea5a893cea20e59d70b9a053d6b69853fc16c249c5994b2cff093838ff3fa79af0d5964313b SHA512 7bf276195fc6857e491cc16b12b33e1da55988c634ec5fea34d5b67e11e6caed91afff1d81bd91d77863200301f098549526d543be9c54eee4550bc20791a295 EBUILD closure-compiler-bin-20231112.ebuild 824 BLAKE2B 3bc758d0b25ceea137a818dd2db97024f5c98526d2f935a64666ac63de2a3a59d53572e9034f955467337acb614ce417efcbaa2b138a2489a85c70f2c088bd33 SHA512 c4911a9a120c073b3cf6f4a24db4ca2ce4c81f935dc78fd47ad57f8b245c3fcdf03c5b7fb923f1b7929a574ab72d7013ebea42464255044fb302987778cd74b8 +EBUILD closure-compiler-bin-20240317.ebuild 824 BLAKE2B 3bc758d0b25ceea137a818dd2db97024f5c98526d2f935a64666ac63de2a3a59d53572e9034f955467337acb614ce417efcbaa2b138a2489a85c70f2c088bd33 SHA512 c4911a9a120c073b3cf6f4a24db4ca2ce4c81f935dc78fd47ad57f8b245c3fcdf03c5b7fb923f1b7929a574ab72d7013ebea42464255044fb302987778cd74b8 MISC metadata.xml 906 BLAKE2B 806154be57433ec37b4a465670897ba718f75da23a9b5cf1fdde13d856931d28993c16f4db974436a3b4764c9d467816bc7d340d441e5b6e0fe6c90846a75919 SHA512 cd69b7d1dec75a640dc1fbc07f48625000ee17c31289adf326864cc0573f685cfd75b18e1c4183d33100ff68c85c1a2fa9c74b1e01e3ff0aaa3445954b10eb07 diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20240317.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20240317.ebuild new file mode 100644 index 000000000000..1790b462aa70 --- /dev/null +++ b/dev-lang/closure-compiler-bin/closure-compiler-bin-20240317.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 + +MY_PN="${PN%-bin}" +MY_P="${MY_PN}-v${PV}" + +DESCRIPTION="JavaScript optimizing compiler" +HOMEPAGE="https://developers.google.com/closure/compiler/ + https://github.com/google/closure-compiler/" +SRC_URI="https://repo1.maven.org/maven2/com/google/javascript/${MY_PN}/v${PV}/${MY_P}.jar" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=virtual/jre-1.8:* +" + +src_unpack() { + : +} + +src_compile() { + : +} + +src_install() { + java-pkg_jarinto "/opt/${PN}-${SLOT}/lib" + java-pkg_newjar "${DISTDIR}/${MY_P}.jar" "${PN}.jar" + + local -a dolauncher_opts=( + "${MY_PN}" + --jar "/opt/${PN}-${SLOT}/lib/${PN}.jar" + -into /opt + ) + java-pkg_dolauncher "${dolauncher_opts[@]}" +} -- cgit v1.2.3