diff options
author | James Le Cuirot <chewi@gentoo.org> | 2022-07-05 23:06:18 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2022-07-05 23:06:18 +0100 |
commit | ef7e3f2ecd58c7cef6369b263638c1cf674163ac (patch) | |
tree | 78c318176db93c7969e76423c6f5ae61de916d24 /dev-util | |
parent | www-apps/piwigo: drop 12.2.0 (diff) | |
download | gentoo-ef7e3f2ecd58c7cef6369b263638c1cf674163ac.tar.gz gentoo-ef7e3f2ecd58c7cef6369b263638c1cf674163ac.tar.bz2 gentoo-ef7e3f2ecd58c7cef6369b263638c1cf674163ac.zip |
dev-util/uglifyjs: Version bump to 3.16.2
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/uglifyjs/Manifest | 1 | ||||
-rw-r--r-- | dev-util/uglifyjs/uglifyjs-3.16.2.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/uglifyjs/Manifest b/dev-util/uglifyjs/Manifest index 94a5e421eee7..7bac0192516f 100644 --- a/dev-util/uglifyjs/Manifest +++ b/dev-util/uglifyjs/Manifest @@ -1 +1,2 @@ DIST uglifyjs-3.16.1.tar.gz 519333 BLAKE2B 6e4978aa776256be575ea91fd6cd584fe8885886300db1b77cc889af5112615175cd40d527ac6356d653e60ab3ed404670355f80e0391da538313b494bb1104b SHA512 e0ef3e2b82cb6f211120b1d66132b5b5b13bc48dd946d7e7bbeddd1bee16330c9a3541d07f51b6eddf9036b0e520a527849ddc3cf6de467331b42f1fba37e66e +DIST uglifyjs-3.16.2.tar.gz 521877 BLAKE2B d9c40425b7911a08f90b64c1bbafe1d69ea2b7f7127b2f6b08065d5d99f776a582c27f29c827394ec89f0652cf03ef51bf1da24a4428ecd6b4dd1fa59107ce1c SHA512 ce714f8fab93c4ce3e9774321c6fd81dc050962a50b599ddff2a42d4ea60dc05f672fafb7cc473adcee37a9ce75f85e4d6fc58b1c174c559fe9a66a9230b9da5 diff --git a/dev-util/uglifyjs/uglifyjs-3.16.2.ebuild b/dev-util/uglifyjs/uglifyjs-3.16.2.ebuild new file mode 100644 index 000000000000..1a44c1a32320 --- /dev/null +++ b/dev-util/uglifyjs/uglifyjs-3.16.2.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 +} |