commit: 8d357b5454177c6bd64aeaf987cc199df063db45 Author: James Kalyan <contrib_x <AT> protonmail <DOT> com> AuthorDate: Fri Jul 23 03:40:55 2021 +0000 Commit: James Kalyan <contrib_x <AT> protonmail <DOT> com> CommitDate: Fri Jul 23 03:40:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d357b54
dev-util/rust-analyzer-bin: add v2021.07.19 Signed-off-by: James Kalyan <contrib_x <AT> protonmail.com> .../rust-analyzer-bin-2021.07.19.ebuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.07.19.ebuild b/dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.07.19.ebuild new file mode 100644 index 000000000..a8b2b0ab6 --- /dev/null +++ b/dev-util/rust-analyzer-bin/rust-analyzer-bin-2021.07.19.ebuild @@ -0,0 +1,22 @@ +# 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/download/2021-07-19/rust-analyzer-x86_64-unknown-linux-gnu.gz" + +LICENSE="Apache-2.0 MIT-with-advertising" +SLOT="0" +KEYWORDS="~amd64" + +S=${WORKDIR} + +src_install() { + newbin rust-analyzer-x86_64-unknown-linux-gnu rust-analyzer +} + +pkg_postinst() { + elog "Make sure to add your desired rust toolchain (e.g. with rustup) for rust-analyzer to work correctly" +}
