From 0f15659d48c193027158492acb726297501202c5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Dec 2021 20:34:27 +0000 Subject: gentoo xmass resync : 25.12.2021 --- dev-lang/typescript/typescript-4.5.4.ebuild | 39 +++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 dev-lang/typescript/typescript-4.5.4.ebuild (limited to 'dev-lang/typescript/typescript-4.5.4.ebuild') diff --git a/dev-lang/typescript/typescript-4.5.4.ebuild b/dev-lang/typescript/typescript-4.5.4.ebuild new file mode 100644 index 000000000000..dcbc71b38d89 --- /dev/null +++ b/dev-lang/typescript/typescript-4.5.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Superset of JavaScript with optional static typing, classes and interfaces" +HOMEPAGE="https://www.typescriptlang.org" +SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +DEPEND="" +RDEPEND="net-libs/nodejs" +BDEPEND=">=net-libs/nodejs-16[npm]" + +S="${WORKDIR}/package" + +src_compile() { + # nothing to compile here + : +} + +src_install() { + npm \ + --audit false \ + --color false \ + --foreground-scripts \ + --global \ + --offline \ + --omit dev \ + --prefix "${ED}"/usr \ + --progress false \ + --verbose \ + install "${DISTDIR}/${P}".tgz || die "npm install failed" + + einstalldocs +} -- cgit v1.2.3