dev-util/vscode-langservers-extracted: new package, add 4.4.0

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2022-09-07 04:06:22 +02:00
parent df4bff0520
commit df11a78e01
3 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST vscode-langservers-extracted-4.4.0-deps.tar.xz 14579232 BLAKE2B d9a4e4cc02773c033930f3ad6682c2fd9671887bebdf47e67130dfa697a87460a7b7f28944c95ba7dc3682cf7333dc77081c67c861646029f24be561dd6ea3e0 SHA512 88d1e11be6a9235adcb1fda075e5c6096b9b9760f6f3131c68592b745bc0c4668548ab8e1698484bed34c08e7bdbb347665e2e3357fc01641feca36fa6528ac1
DIST vscode-langservers-extracted-4.4.0.tgz 776439 BLAKE2B 0cd2dc9cb4fe6fc6a5b1d6fd2e38fc3b9bf0ab3ec5610b6226ffcd629bc3d7435957b28c2fd9b48b66cca7818919cca2ac160fc1a16f8c017d403ef4a58953e0 SHA512 b165c316602f5cc52117913eeafe1eefb4b08553d2bdd2f11867e43b3d792e602c7caa1a98a3275bb680467bba99158eceacf784a26a5593788670a976fb4b2a

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@tastytea.de</email>
<name>Ronny (tastytea) Gutbrod</name>
</maintainer>
<upstream>
<remote-id type="github">hrsh7th/vscode-langservers-extracted</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,42 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="HTML/CSS/JSON/ESLint/Markdown language servers extracted from vscode."
HOMEPAGE="https://github.com/hrsh7th/vscode-langservers-extracted"
SRC_URI="
mirror://npm/${PN}/-/${PN}-4.4.0.tgz
https://tastytea.de/files/gentoo/${P}-deps.tar.xz
"
S="${WORKDIR}"
# NOTE: to generate the dependency tarball:
# npm --cache "$(realpath ./npm-cache)" install $(portageq envvar DISTDIR)/${P}.tgz
# tar -caf ${P}-deps.tar.xz npm-cache
LICENSE="Apache-2.0 BSD-2 MIT-with-advertising"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="net-libs/nodejs"
BDEPEND="net-libs/nodejs[npm]"
src_unpack() {
cd "${T}" || die "Could not cd to temporary directory"
unpack ${P}-deps.tar.xz
}
src_install() {
npm \
--offline \
--verbose \
--progress false \
--foreground-scripts \
--global \
--prefix "${ED}"/usr \
--cache "${T}"/npm-cache \
install "${DISTDIR}"/${P}.tgz || die "npm install failed"
einstalldocs
}