dev-util/rust-analyzer-bin: add v2021.08.30

Signed-off-by: James Kalyan <contrib_x@protonmail.com>
This commit is contained in:
James Kalyan
2021-08-30 20:31:01 -06:00
parent 98730e4b14
commit 0f7627c453
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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/download/2021-08-30/rust-analyzer-x86_64-unknown-linux-gnu.gz -> ${P}.gz"
LICENSE="Apache-2.0 MIT-with-advertising"
SLOT="0"
KEYWORDS="~amd64"
S=${WORKDIR}
QA_FLAGS_IGNORED="usr/bin/rust-analyzer"
src_install() {
newbin ${P} rust-analyzer
}
pkg_postinst() {
elog "Make sure to add your desired rust toolchain (e.g. with rustup) for rust-analyzer to work correctly"
}