diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-03-20 19:01:01 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-03-20 20:30:53 +0100 |
commit | da9b9fbbcd3095f0b6b1e820f38eb4b901daad66 (patch) | |
tree | d411b55115340bbd13a7fea779b92f405fa56d2c /dev-lang/closure-compiler-bin | |
parent | dev-lang/dafny-bin: bump to 4.5.0 (diff) | |
download | gentoo-da9b9fbbcd3095f0b6b1e820f38eb4b901daad66.tar.gz gentoo-da9b9fbbcd3095f0b6b1e820f38eb4b901daad66.tar.bz2 gentoo-da9b9fbbcd3095f0b6b1e820f38eb4b901daad66.zip |
dev-lang/closure-compiler-bin: bump to 20240317
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/closure-compiler-bin')
-rw-r--r-- | dev-lang/closure-compiler-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/closure-compiler-bin/closure-compiler-bin-20240317.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-lang/closure-compiler-bin/Manifest b/dev-lang/closure-compiler-bin/Manifest index 47b08081a465..d4da0c407dfd 100644 --- a/dev-lang/closure-compiler-bin/Manifest +++ b/dev-lang/closure-compiler-bin/Manifest @@ -1 +1,2 @@ DIST closure-compiler-v20231112.jar 14084315 BLAKE2B e56777723c2c306d8c7ddb700778bc2cea9c96967f17d78e4e3dc31e9dcf1debe73ec6ff1b54b1b89f7407add12c3c16ebe4111b397bfca85d695278744db69f SHA512 e07ff9f57cf7672a79bc72fc8d5f447134df3009b72e50b7bbba644ebb6cbc080b3870f0dd7a47aa85a0b7d1b2e26bbeb0b4d057864e3d29fb5249c1ec8e3e13 +DIST closure-compiler-v20240317.jar 13984957 BLAKE2B cc9fd9e7dca6a95e62fe6d922dfad90d654ddddf15cd001c75a60ea5a893cea20e59d70b9a053d6b69853fc16c249c5994b2cff093838ff3fa79af0d5964313b SHA512 7bf276195fc6857e491cc16b12b33e1da55988c634ec5fea34d5b67e11e6caed91afff1d81bd91d77863200301f098549526d543be9c54eee4550bc20791a295 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[@]}" +} |