dev-lang/closure-compiler-bin: bump to 20251216

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-12-20 14:35:30 +01:00
parent e81f2ede11
commit 056eba9b88
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 51 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST closure-compiler-bin-20250820.maven.jar 14080764 BLAKE2B 17f0d4f7240e5d2deb5f1daf2d771b5cc655ab491ae0189958cd90491d1da50d32ce88adb86e8a6141c357f5c289933ba187029250f326c682e3b094b192cd5e SHA512 c2f8a1278e64fd9b0421ecfc763037ced5f2609c6561c4a1822f544f2ed9d98d7989a50a92f0d8e33a2c68a87609ec833f4fdef622cbcb094d349843250619ef
DIST closure-compiler-bin-20251216.maven.jar 14615389 BLAKE2B 09c69889ff3efc7a66b0a3a95e5e936cb9700519a250af484bf9ba41b91d1b6e608cfb574a52b18c7c5d66229cac7d710395c6ca39916651d122a0d34e140093 SHA512 3b57fdad0a0f4ae57869e7b60096a851b38c4ae299ad3fceb5b23b48f58cc780b12be33fadb5bab72dfa4312d8863423e265fcfb3e402033731214d8a2175414

View File

@ -0,0 +1,50 @@
# Copyright 1999-2025 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/"
MAVEN_REPO="https://repo1.maven.org/maven2"
SRC_URI="
${MAVEN_REPO}/com/google/javascript/${MY_PN}/v${PV}/${MY_P}.jar
-> ${P}.maven.jar
"
S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=virtual/jre-1.8:*
"
src_unpack() {
:
}
src_compile() {
:
}
src_install() {
local jar_dir="/opt/${PN}-${SLOT}/lib"
java-pkg_jarinto "${jar_dir}"
java-pkg_newjar "${DISTDIR}/${P}.maven.jar" "${PN}.jar"
local -a dolauncher_opts=(
"${MY_PN}"
--jar "${jar_dir}/${PN}.jar"
-into /opt
)
java-pkg_dolauncher "${dolauncher_opts[@]}"
}