diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-30 09:24:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-30 09:24:14 +0100 |
commit | eba9b95ba8976f2938bafa5789c1b50611bb3459 (patch) | |
tree | 36f155db1521abbf4398c0f9b1f90044de53ef48 /dev-lang/typescript/typescript-4.8.4.ebuild | |
parent | d70b0f920e70eb6f0a26d9ed3767e27a73c74678 (diff) |
gentoo auto-resync : 30:09:2022 - 09:24:13
Diffstat (limited to 'dev-lang/typescript/typescript-4.8.4.ebuild')
-rw-r--r-- | dev-lang/typescript/typescript-4.8.4.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-lang/typescript/typescript-4.8.4.ebuild b/dev-lang/typescript/typescript-4.8.4.ebuild new file mode 100644 index 000000000000..02196457057b --- /dev/null +++ b/dev-lang/typescript/typescript-4.8.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Superset of JavaScript with optional static typing, classes and interfaces" +HOMEPAGE="https://www.typescriptlang.org/ + https://github.com/microsoft/TypeScript/" +SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz" +S="${WORKDIR}"/package + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +RDEPEND="net-libs/nodejs" +BDEPEND=">=net-libs/nodejs-16[npm]" + +src_compile() { + # Skip, nothing to compile here. + : +} + +src_install() { + local myopts=( + --audit false + --color false + --foreground-scripts + --global + --offline + --omit dev + --prefix "${ED}"/usr + --progress false + --verbose + ) + npm ${myopts[@]} install "${DISTDIR}"/${P}.tgz || die "npm install failed" + + dodoc *.md *.txt +} |