forked from tastytea/overlay
dev-util/typescript-language-server: treeclean
Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
187e721a45
commit
357ce703b1
|
@ -1,2 +0,0 @@
|
|||
DIST typescript-language-server-1.1.2-deps.tar.xz 1496552 BLAKE2B 0edf2dd42d218c82ccb32eeb32a716f63dd5badd7b2235d44dd828e9ba49dc4704ea7d539f800efa70ebef7b89b9f5a02743824c7898f47169f99842b1046d59 SHA512 8b60500027ae7ca056c7bb8012ec5d5adf2c210e446eda3ccedacc7a88471417e7b837e6ca15480e9ae54a1fd3b52b83d22c5f868b8c53deabcd52fe523e581d
|
||||
DIST typescript-language-server-1.1.2.tgz 122199 BLAKE2B bc7e22de39627df7d7b88113c7639170e809b875b7105e1e8b3ff17f7c871d78b4ab0bc344187c991e193700dd81583d895e4c8a9a378a465f4c139b8841e87b SHA512 8107f8a7716f28aa52842c19725221edbdd5b669ae304b6eaf5c4fcfaa531fe8a56b0de35029ab72f2d4e73cf9f7ff511c11e474fe97ad1ea9f51750f0afbc29
|
|
@ -1,8 +0,0 @@
|
|||
<?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>
|
||||
</pkgmetadata>
|
|
@ -1,45 +0,0 @@
|
|||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="TypeScript & JavaScript Language Server"
|
||||
HOMEPAGE="https://www.npmjs.com/package/typescript-language-server"
|
||||
SRC_URI="
|
||||
mirror://npm/${PN}/-/${P}.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 ISC MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
net-libs/nodejs
|
||||
dev-lang/typescript
|
||||
"
|
||||
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
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
# tastytea <gentoo@tastytea.de> (2023-01-06)
|
||||
# Package is in ::guru[1] now, removal on 2023-02-06
|
||||
# [1] <https://wiki.gentoo.org/wiki/Project:GURU>
|
||||
# (was masked before but i forgot to remove it 🤦)
|
||||
dev-util/typescript-language-server
|
Loading…
Reference in New Issue
Block a user