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

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-06-13 17:06:24 +02:00
parent b3c5097d64
commit 0587787af0
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-20250407.maven.jar 14047634 BLAKE2B 7ebdb3fa7b1a8bc992c4c8bd9196fc578f353fdfd3d1310a585d9a2d8a99fb24d9792b8e75d656efc76f4aae4b18ddd3671d3fde46204434c1cf85ee0ac8652a SHA512 4898f1487a2760e374f4b42b664f52af7c6a4481a99008d0d56a8ce2a979edd18fd1afd5caccf3b5e1157bd4e99e1c4043ac527eaa5e7105aa88da35d311c534
DIST closure-compiler-bin-20250528.maven.jar 14046635 BLAKE2B bada24ff20a7c2edbc62e4c5111cd1d3b075012e71892e85e7ba643a8c397b7ce1b29688fa4869533eb22bbc9e702f88b296a652c97ecf9d44d6c6c200aed582 SHA512 ffb70a91250ed3417f47c5d9682fe3ec3c771d875ceb1c2706b4abe8c490e69c9bbc1453b1bdf83d60f98a2666936b652f212e340e1ecb6e5267b6c7ced35385

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