dev-util/rust-analyzer-bin: add live binary release

Signed-off-by: James Kalyan <contrib_x@protonmail.com>
This commit is contained in:
James Kalyan
2021-05-28 11:30:22 -06:00
parent 0fc9624a14
commit fbd97c7306
3 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="An implementation of Language Server Protocol for the Rust programming language"
HOMEPAGE="https://rust-analyzer.github.io"
SRC_URI="https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-linux.gz"
LICENSE="Apache-2.0"
SLOT="0"
PROPERTIES="live"
S=${WORKDIR}
src_install() {
newbin rust-analyzer-linux rust-analyzer
elog "Make sure to add your desired rust toolchain (e.g. with rustup) for rust-analyzer to work correctly"
}