diff options
author | James Le Cuirot <chewi@gentoo.org> | 2022-10-29 14:20:45 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2022-10-29 14:22:10 +0100 |
commit | 0ab7dcd5e99ca1ff25d5650d2c193198d34a9062 (patch) | |
tree | 6d49f541cc5c6115bda82c7fe8b07a08c8018ce2 /dev-util/uglifyjs | |
parent | profiles: un-last-rite net-misc/wol (diff) | |
download | gentoo-0ab7dcd5e99ca1ff25d5650d2c193198d34a9062.tar.gz gentoo-0ab7dcd5e99ca1ff25d5650d2c193198d34a9062.tar.bz2 gentoo-0ab7dcd5e99ca1ff25d5650d2c193198d34a9062.zip |
dev-util/uglifyjs: Version bump to 3.17.4
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-util/uglifyjs')
-rw-r--r-- | dev-util/uglifyjs/Manifest | 1 | ||||
-rw-r--r-- | dev-util/uglifyjs/uglifyjs-3.17.4.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/uglifyjs/Manifest b/dev-util/uglifyjs/Manifest index 9bac31a939ba..27fe31f328d1 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.17.2.tar.gz 536420 BLAKE2B 8b903b055a968d33eb79e57ee7eba9ffe15ddae894d0b0087328fcec1156f804a095983a9748421cc70a2a144d4584c53e010b14f62ca0fc9248caec0eef2972 SHA512 945ad9df065d239358eba5c89cb757b2d6632415cdd8a3d429cf897dcfa83acd57935e91e8716f963b63f2958a4bee88e86f3eee3f5fe6330876badcccb40b31 DIST uglifyjs-3.17.3.tar.gz 538773 BLAKE2B a54289f633906dcb399ca8175a43e9c4c704a78fab04e1821b2f5b056d21f1f5845f7ceab502cccad29db5255d7ba26f80a2b9ac34422fa43bfbf7ce27884010 SHA512 bd2b8460a2f2f915a44c68b14d53d37cf2bd644325705f895988a0afc13a31815e215195c1de01b3eeefe19ff350249b7d3907ab0c9672f5966c10f9ee99c0ca +DIST uglifyjs-3.17.4.tar.gz 539533 BLAKE2B e6939d0c2127d4a3a13e0b3d1a8942b4241d01e72ab3813dafece63728c1250facf57cad36b1c14be8d799da99ca7f9b06b9d2dbb4afa87d6d9e1d1c96840b4a SHA512 1382332a65a5d3a093f701508d0e4a12b2d08a94d35f94d405f5357a2dd8ba8d3c96ee4389f3c2f4bc53c6b97cd79be81c84964e1e0daa5e5529909a676c2b70 diff --git a/dev-util/uglifyjs/uglifyjs-3.17.4.ebuild b/dev-util/uglifyjs/uglifyjs-3.17.4.ebuild new file mode 100644 index 000000000000..1a44c1a32320 --- /dev/null +++ b/dev-util/uglifyjs/uglifyjs-3.17.4.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 +} |