summaryrefslogtreecommitdiff
path: root/dev-lang/closure-compiler-bin
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/closure-compiler-bin')
-rw-r--r--dev-lang/closure-compiler-bin/Manifest4
-rw-r--r--dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild29
-rw-r--r--dev-lang/closure-compiler-bin/closure-compiler-bin-20211107.ebuild38
3 files changed, 40 insertions, 31 deletions
diff --git a/dev-lang/closure-compiler-bin/Manifest b/dev-lang/closure-compiler-bin/Manifest
index 9841b888bfcc..f53fe12b81ac 100644
--- a/dev-lang/closure-compiler-bin/Manifest
+++ b/dev-lang/closure-compiler-bin/Manifest
@@ -1,3 +1,3 @@
-DIST closure-compiler-bin-20170218.tar.gz 6515448 BLAKE2B ddf7600776445c90059bcee037596af9c7b14265d55c51c1c4a2a55acf2fc97e8f9ab04f854f8a7ba0a32147e63c9e4e7723f4d7f34e842efae96fc86953d305 SHA512 4ddbb339615edb104ddcb84775b1da2f096d49dc921b70c5094a7b7afba25e40c1212bbc9f0e51ad643a3a72bfc46a301efcadd7909d09a77d0bb5e68e41bd81
-EBUILD closure-compiler-bin-20170218.ebuild 648 BLAKE2B 5db8df0be8f17f5a1c7b9067c471885c31ce68765208332dd64991e6ab4eb5642229ce389a3c9a107b5dd3a374a0ebed540cbb9c76ffff834f39f8152d551733 SHA512 c8be5a5abe654036b7a8baed6d1856a35b94d7e13b5ca16de5a9b3028f4333451347331c5565af167da2c103f91ddd80a1551e818dfd2e33e8b3f6aa9e8d4cb9
+DIST closure-compiler-v20211107.jar 13141765 BLAKE2B 0875fe9cc1963383185d387311ca693857c31cd811605a0896b331ebee92a10bda6182dc6d9b9f4e097b68da278764c56237f398e0042f16a30dea04428d6694 SHA512 6fda64ba9233874acd910f3579397b957667e0a19dcc9884cd1c5ed6087b5d2ae66093ac43d0381611a3adeb02be59a750c98704bda481be1b30601c8138aeb1
+EBUILD closure-compiler-bin-20211107.ebuild 760 BLAKE2B 471c626a734cdad8d0be000d598bb8d1559ca58b995342659f840fa145aa6e8790ccc69fef47e7100eedfee6aad9d00bc041129ab317c936dfe823b085449c00 SHA512 c1290af7b3cc8f1b65962fb1d5a27545e99ae06464a11bd3ab5b241772e2cfc525dbf8c60b35e4bacb74bd95dff891872e8c2ae71a164dc3100c09435af62b25
MISC metadata.xml 261 BLAKE2B 693889a73e9e0827b6c2e8b00d9b2e72db9841f052e3094851c934da3c61fe75a4e3b0f103f2f9f70dd7eb2827509b4899e5b506f734f1f2056a2d04ce98eeac SHA512 f9b8838ebadb2e26d4b87308afb0fbde00cb1e25dc3851f124221d36c05467f0ce68d3576306d63d9dbb82882b9184da6878a9f8ff69481d3860680fccc7ef7e
diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild
deleted file mode 100644
index de842c3bfd89..000000000000
--- a/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit java-pkg-2
-
-DESCRIPTION="JavaScript optimizing compiler"
-HOMEPAGE="https://github.com/google/closure-compiler"
-SRC_URI="https://dl.google.com/closure-compiler/compiler-${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=virtual/jre-1.6"
-
-S=${WORKDIR}
-
-src_install() {
- java-pkg_jarinto /opt/${PN}-${SLOT}/lib
- java-pkg_newjar ${PN%-bin}-v${PV}.jar ${PN}.jar
- java-pkg_dolauncher \
- ${PN%-bin} \
- --jar /opt/${PN}-${SLOT}/lib/${PN}.jar \
- -into /opt
- dodoc README.md
-}
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
+}