From 188958a0ead4b6cf1979324edc24078951e65b9d Mon Sep 17 00:00:00 2001 From: projectmoon Date: Wed, 21 Jul 2021 20:56:26 +0200 Subject: [PATCH] Add rust-analyzer-bin with updated manifests --- dev-util/rust-analyzer-bin/Manifest | 1 + .../rust-analyzer-bin-9999.ebuild | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 dev-util/rust-analyzer-bin/Manifest create mode 100644 dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild diff --git a/dev-util/rust-analyzer-bin/Manifest b/dev-util/rust-analyzer-bin/Manifest new file mode 100644 index 0000000..f41b4f2 --- /dev/null +++ b/dev-util/rust-analyzer-bin/Manifest @@ -0,0 +1 @@ +DIST rust-analyzer-x86_64-unknown-linux-gnu.gz 11589435 BLAKE2B 571ed4fdf5bc9f35d64b52b4b8cde7b0e0b534e0e8361e34ef51bd885d040c29c359a07de10ec338371144efc8d74f27314cfd08eb184e7fb20ded48a1d750a6 SHA512 6c15c4ff859f88917a486aa04bba1db0e28e85356814fe10e783f27946589bdb68cbb99057c889fd8011994a8e2fbafb6e0fd640c2d744144e07f07188d6761b diff --git a/dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild b/dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild new file mode 100644 index 0000000..4fda953 --- /dev/null +++ b/dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.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/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz" + +LICENSE="Apache-2.0 MIT-with-advertising" +SLOT="0" +PROPERTIES="live" + +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" +}