diff options
Diffstat (limited to 'dev-lang/typescript')
-rw-r--r-- | dev-lang/typescript/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/typescript/typescript-4.5.4.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest index 1c3a761f385c..38b94649f91d 100644 --- a/dev-lang/typescript/Manifest +++ b/dev-lang/typescript/Manifest @@ -1,3 +1,5 @@ DIST typescript-4.3.5.tgz 10627908 BLAKE2B 8fda1e3c2ee052273e5fa22245a0af26c3171b93a5bd6d57453e92828748bec83ca9cef075b005e5b73f7be7e18210d0fef24c08e7b8054fd3c1d30376357d44 SHA512 0ea4208a1690f5c52bb24268f642325bffa0d15c6c93c703b59e766b734687460d4dfa54480ad74a88725069ef6cf6b310f2eedfdf02d14c662923ab3ee994cc +DIST typescript-4.5.4.tgz 11280056 BLAKE2B 0fce858e7b1ec2120de9e2cd0356cb6553a1730f7db58a001920928351c58186124e63b7189e37ce12ea6158744c1203ebed6e20234e1b32e47b07b3f48bcd24 SHA512 56062cd80d90211b86a61b73155eda40976e2768327d39639e02f38e97d6f45a18645eb1bb0d56d2f5bd82108a2df716ac21712bcd42486440bd2d699f87c852 EBUILD typescript-4.3.5.ebuild 766 BLAKE2B eaa420ad739ed7a4afee41b0d9f4fd7d3283a0a1ca75f5514383470bd4276538147f28ef777954605359a249df6a913e91f04ee75dd3ad55537803f10b1f1259 SHA512 3a65ae24834c4bb449361653daabd973c3bfa2b0d141cdfc90cac3dbcb913f9f161212c3a2b36d155adb9d13bc72051b23f056e6fa55f61e39a57fc0930107c5 +EBUILD typescript-4.5.4.ebuild 766 BLAKE2B eaa420ad739ed7a4afee41b0d9f4fd7d3283a0a1ca75f5514383470bd4276538147f28ef777954605359a249df6a913e91f04ee75dd3ad55537803f10b1f1259 SHA512 3a65ae24834c4bb449361653daabd973c3bfa2b0d141cdfc90cac3dbcb913f9f161212c3a2b36d155adb9d13bc72051b23f056e6fa55f61e39a57fc0930107c5 MISC metadata.xml 337 BLAKE2B ac8e737ab7726d464b009057fa44ce5d8fb9f23b0f36b547362df03caf57fbd1fb37357ac8fe0f0816793cfb0764508900874b4a3e50a5b1a624f2d55342e82a SHA512 39e9d9fb81ce9a925491894d4fa80aeeec95240307661857e7d6360b0d467e2e31ec8307762e0ad63ae4105674f6c8eaf1b37b4e2ebf96d6c8fcbbc67b1318f2 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 +} |