summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2022-09-21 21:13:31 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2022-09-21 21:49:35 -0700
commit0d4dbc6e85ea0ea49319aa9eeca3d8b99624ad33 (patch)
tree2b6049fa529931d2c9067908892228a34f4afaef /dev-lang
parentdev-libs/glib: fix build w/ Clang (diff)
downloadgentoo-0d4dbc6e85ea0ea49319aa9eeca3d8b99624ad33.tar.gz
gentoo-0d4dbc6e85ea0ea49319aa9eeca3d8b99624ad33.tar.bz2
gentoo-0d4dbc6e85ea0ea49319aa9eeca3d8b99624ad33.zip
dev-lang/typescript: add 4.8.3
Closes: https://bugs.gentoo.org/871765 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/typescript/Manifest1
-rw-r--r--dev-lang/typescript/typescript-4.8.3.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest
index ec31c9b915e7..bb0c67d1561b 100644
--- a/dev-lang/typescript/Manifest
+++ b/dev-lang/typescript/Manifest
@@ -1 +1,2 @@
DIST typescript-4.5.4.tgz 11280056 BLAKE2B 0fce858e7b1ec2120de9e2cd0356cb6553a1730f7db58a001920928351c58186124e63b7189e37ce12ea6158744c1203ebed6e20234e1b32e47b07b3f48bcd24 SHA512 56062cd80d90211b86a61b73155eda40976e2768327d39639e02f38e97d6f45a18645eb1bb0d56d2f5bd82108a2df716ac21712bcd42486440bd2d699f87c852
+DIST typescript-4.8.3.tgz 11942311 BLAKE2B a97b8e507eb880bcf21dd6a530f0f84f4f63055860bd453d6b22261c5422b26974c88b248303e6f3ed8102a0529d93360c46ac7dfb616d67ff0dcb7134c75e47 SHA512 8283077e6d349d63daf14bd1fc23d2bf292a7fa75557cc7f769d1ce6615331322ed2ed059465918a8cb2ecd9f43c601d1f1a49667b8efeeb7e3e943c5221c08a
diff --git a/dev-lang/typescript/typescript-4.8.3.ebuild b/dev-lang/typescript/typescript-4.8.3.ebuild
new file mode 100644
index 000000000000..647f4a120aee
--- /dev/null
+++ b/dev-lang/typescript/typescript-4.8.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2022 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
+}