33 lines
515 B
Bash
33 lines
515 B
Bash
# Copyright 2020-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
CRATES=""
|
|
|
|
inherit cargo
|
|
|
|
DESCRIPTION="Zuban Language Server"
|
|
HOMEPAGE="https://zubanls.com/"
|
|
|
|
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/zubanls/zuban.git"
|
|
|
|
|
|
# LICENSE=""
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
src_unpack() {
|
|
git-r3_src_unpack
|
|
cargo_live_src_unpack
|
|
}
|
|
|
|
src_install() {
|
|
cargo_src_install --path ./crates/zuban --offline --frozen
|
|
insinto /usr
|
|
rm -rf ./typeshed/.git
|
|
doins -r typeshed || die
|
|
}
|