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

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-04-18 16:34:33 +02:00
parent 31ca4c923a
commit c498a7fe90
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST closure-compiler-bin-20250407.maven.jar 14047634 BLAKE2B 7ebdb3fa7b1a8bc992c4c8bd9196fc578f353fdfd3d1310a585d9a2d8a99fb24d9792b8e75d656efc76f4aae4b18ddd3671d3fde46204434c1cf85ee0ac8652a SHA512 4898f1487a2760e374f4b42b664f52af7c6a4481a99008d0d56a8ce2a979edd18fd1afd5caccf3b5e1157bd4e99e1c4043ac527eaa5e7105aa88da35d311c534
DIST closure-compiler-v20250402.jar 14062314 BLAKE2B f1c422e9240797b65355404eade63bd50ee04fae4d022052bcc0fd85485163e905e1b5f7357b18b9d70ca8592c31db9114d7c2f0aeb02cf256d7ab4e3f9301da SHA512 9669f7e816781b018c298749a50b638cc739bb079a6831355f7f02e5228393184af420bbe56537255188067ac22983f3ca266d687d25e4a1ffbdacf0bbb69b71

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[@]}"
}