Add rust-analyzer-bin with updated manifests

This commit is contained in:
projectmoon 2021-07-21 20:56:26 +02:00
parent b08955fb3f
commit 188958a0ea
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST rust-analyzer-x86_64-unknown-linux-gnu.gz 11589435 BLAKE2B 571ed4fdf5bc9f35d64b52b4b8cde7b0e0b534e0e8361e34ef51bd885d040c29c359a07de10ec338371144efc8d74f27314cfd08eb184e7fb20ded48a1d750a6 SHA512 6c15c4ff859f88917a486aa04bba1db0e28e85356814fe10e783f27946589bdb68cbb99057c889fd8011994a8e2fbafb6e0fd640c2d744144e07f07188d6761b

View File

@ -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"
}