summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-11-24 01:19:13 +0100
committerMarek Szuba <marecki@gentoo.org>2021-11-24 01:20:07 +0100
commit6fbb485df7e48d5f8a5b08f2c303f83e94393e45 (patch)
tree1d9aa3e861b1b4f9e3a511809299415d5cde822a /dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild
parentdev-perl/PadWalker: Remove old (diff)
downloadgentoo-6fbb485df7e48d5f8a5b08f2c303f83e94393e45.tar.gz
gentoo-6fbb485df7e48d5f8a5b08f2c303f83e94393e45.tar.bz2
gentoo-6fbb485df7e48d5f8a5b08f2c303f83e94393e45.zip
dev-lang/closure-compiler-bin: add 20211107, remove 20170218
EAPI 5 -> 7 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild')
-rw-r--r--dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild
new file mode 100644
index 000000000000..caecdb89ffdd
--- /dev/null
+++ b/dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=virtual/jre-1.8"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ java-pkg_jarinto /opt/${PN}-${SLOT}/lib
+ java-pkg_newjar "${DISTDIR}"/${MY_P}.jar ${PN}.jar
+ java-pkg_dolauncher \
+ ${MY_PN} \
+ --jar /opt/${PN}-${SLOT}/lib/${PN}.jar \
+ -into /opt
+}