summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-09-21 21:51:18 +0100
committerJames Le Cuirot <chewi@gentoo.org>2022-09-21 21:51:18 +0100
commitc406621761a09e9cd7aa33fa3d2cd19dc96b045e (patch)
treee3275150b4069d1e948f8a473d6161f1b58739ee /dev-util/uglifyjs
parentgui-wm/gamescope: Bump to 3.11.45.2, drop old 3.11.43 (diff)
downloadgentoo-c406621761a09e9cd7aa33fa3d2cd19dc96b045e.tar.gz
gentoo-c406621761a09e9cd7aa33fa3d2cd19dc96b045e.tar.bz2
gentoo-c406621761a09e9cd7aa33fa3d2cd19dc96b045e.zip
dev-util/uglifyjs: Version bump to 3.17.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-util/uglifyjs')
-rw-r--r--dev-util/uglifyjs/Manifest1
-rw-r--r--dev-util/uglifyjs/uglifyjs-3.17.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/uglifyjs/Manifest b/dev-util/uglifyjs/Manifest
index 3f17193adc61..396ce6edc87b 100644
--- a/dev-util/uglifyjs/Manifest
+++ b/dev-util/uglifyjs/Manifest
@@ -1,3 +1,4 @@
DIST uglifyjs-3.16.1.tar.gz 519333 BLAKE2B 6e4978aa776256be575ea91fd6cd584fe8885886300db1b77cc889af5112615175cd40d527ac6356d653e60ab3ed404670355f80e0391da538313b494bb1104b SHA512 e0ef3e2b82cb6f211120b1d66132b5b5b13bc48dd946d7e7bbeddd1bee16330c9a3541d07f51b6eddf9036b0e520a527849ddc3cf6de467331b42f1fba37e66e
DIST uglifyjs-3.16.3.tar.gz 527549 BLAKE2B 9fa89b62d2b38a543c07d5e02c8e07228eadbf1d577e96491961af1e5bbead5e8268536cf3e2c64b5a6274d7badb22ea926b87e9faddc9ed8b1d83642b69267d SHA512 173eacc7914fd4dba2671018760f0c1fb7c9d695c199003b80cdaa6ef8bda303efe647c0abbc3a7a95156512a6d2b99058340cc70a124758683d5c3829fed3bc
DIST uglifyjs-3.17.0.tar.gz 531823 BLAKE2B 5163b392a22431a5f622fccfbb2eaa005eb4c42650446bc55c94ddf564b4c629ecad4a62ed6499f7aaab2ebe05b08ab0de7b56a18db74cb284497ea661edcace SHA512 0af47bfa5f10432edb8eb5245ef194ce73db49e3e35db094c8faa8cb7a22bf89e5b9b8933b2f23113a02537f61e4e3dd3a4eeb22bf65602ee50ff78cf28bfdf9
+DIST uglifyjs-3.17.1.tar.gz 535821 BLAKE2B 43a09eff7073b00d45aef714c22bfd291dba22a0074c16d04bbd06a51bd99b480e5d8d8ac3afd187a65f895fcda2af855cd338dabeaf4cee0b8c048307fcf6c2 SHA512 87ae4b99acbdefb3ca99b653bfe321920e8910da50a2ee094b360bd411b2412a5d64afc1730f89d1afdfa30f4c28cb7830dcb4f9e8a14a64174a384efd4c88d4
diff --git a/dev-util/uglifyjs/uglifyjs-3.17.1.ebuild b/dev-util/uglifyjs/uglifyjs-3.17.1.ebuild
new file mode 100644
index 000000000000..1a44c1a32320
--- /dev/null
+++ b/dev-util/uglifyjs/uglifyjs-3.17.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="UglifyJS"
+DESCRIPTION="JavaScript parser, minifier, compressor and beautifier toolkit"
+HOMEPAGE="https://lisperator.net/uglifyjs/"
+SRC_URI="https://github.com/mishoo/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="net-libs/nodejs[npm]"
+RDEPEND="net-libs/nodejs"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+NPM_FLAGS=(
+ --audit false
+ --color false
+ --foreground-scripts
+ --global
+ --offline
+ --progress false
+ --save false
+ --verbose
+)
+
+src_compile() {
+ npm "${NPM_FLAGS[@]}" pack || die
+}
+
+src_install() {
+ npm "${NPM_FLAGS[@]}" \
+ --prefix "${ED}"/usr \
+ install \
+ uglify-js-${PV}.tgz || die
+}