diff options
Diffstat (limited to 'dev-lang/typescript')
-rw-r--r-- | dev-lang/typescript/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/typescript/typescript-4.8.4.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest index 3e194cdb036d..81d10131e25e 100644 --- a/dev-lang/typescript/Manifest +++ b/dev-lang/typescript/Manifest @@ -1,5 +1,7 @@ DIST typescript-4.5.4.tgz 11280056 BLAKE2B 0fce858e7b1ec2120de9e2cd0356cb6553a1730f7db58a001920928351c58186124e63b7189e37ce12ea6158744c1203ebed6e20234e1b32e47b07b3f48bcd24 SHA512 56062cd80d90211b86a61b73155eda40976e2768327d39639e02f38e97d6f45a18645eb1bb0d56d2f5bd82108a2df716ac21712bcd42486440bd2d699f87c852 DIST typescript-4.8.3.tgz 11942311 BLAKE2B a97b8e507eb880bcf21dd6a530f0f84f4f63055860bd453d6b22261c5422b26974c88b248303e6f3ed8102a0529d93360c46ac7dfb616d67ff0dcb7134c75e47 SHA512 8283077e6d349d63daf14bd1fc23d2bf292a7fa75557cc7f769d1ce6615331322ed2ed059465918a8cb2ecd9f43c601d1f1a49667b8efeeb7e3e943c5221c08a +DIST typescript-4.8.4.tgz 11944158 BLAKE2B aa3d97ba50209dd7e313e28d3dcb81e17a93d33ce4a1401186a34bb05e23e972232245df1c8832f44ba418883eb1aa88ee4fbba2a581ee533f99c48823bb59f5 SHA512 40287ef39982cbe8742067dff2be575b339549b04ef8a7de62b31087b349e7c42e8f0704db6bbe3544a6531a85fae9fbd0ff465cac5ad8708d8934cc2649f28d EBUILD typescript-4.5.4-r1.ebuild 824 BLAKE2B 887eabedb681edcf7186a4cc48857cc605f039fe99127337e13d65a79cfb4b9c4017dab20939bea7d6f6fdfebc45a038d17665e1b461d28f03dbb95cbfb3dd71 SHA512 9d8474dfc0ca1b30309b9d07a6d95551f02533945a4431c3708a3505615cdbcb6c29f7efba513ab73802a6b296affcbe8bd372fc83d3a3a5f1e602c27b5f6ac8 EBUILD typescript-4.8.3-r1.ebuild 824 BLAKE2B 887eabedb681edcf7186a4cc48857cc605f039fe99127337e13d65a79cfb4b9c4017dab20939bea7d6f6fdfebc45a038d17665e1b461d28f03dbb95cbfb3dd71 SHA512 9d8474dfc0ca1b30309b9d07a6d95551f02533945a4431c3708a3505615cdbcb6c29f7efba513ab73802a6b296affcbe8bd372fc83d3a3a5f1e602c27b5f6ac8 +EBUILD typescript-4.8.4.ebuild 824 BLAKE2B 887eabedb681edcf7186a4cc48857cc605f039fe99127337e13d65a79cfb4b9c4017dab20939bea7d6f6fdfebc45a038d17665e1b461d28f03dbb95cbfb3dd71 SHA512 9d8474dfc0ca1b30309b9d07a6d95551f02533945a4431c3708a3505615cdbcb6c29f7efba513ab73802a6b296affcbe8bd372fc83d3a3a5f1e602c27b5f6ac8 MISC metadata.xml 733 BLAKE2B 903d85acefa054dd979ac181106cd604c351e4b81e18be7ad0f370501864f6789895244a797ec20041158d8c716907a06fa75c2ba4ea192e798719bbe73b1d45 SHA512 95806f8f442b0246867f0ba0ed70c093dfd772a558ae499be7e22bfe99cb3bc54debc7479ca9b4ac81a54156d3b8745cbb448e412f31ed2d5c43f76cbc642d72 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 +} |