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 @@
DIST rust-analyzer-linux.gz 11238720 BLAKE2B 70145477970d78d2dd68ddf332040aa7bc653bbaf3d8942a5df6c44589cdeb98a580bf6385bc1c91b06681027f494c69a89ba7c9dfe3ee24634c79e81c09a262 SHA512 5b8f49a878b67f75250c61cfaaf7bf401f87debdb131a4a1bb6026747d906031c934abe6fc8687222a2736cbcf2c862a130bca3f73828849e2b5e7a8fda47ea5

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">rust-analyzer/rust-analyzer</remote-id>
<bugs-to>https://github.com/rust-analyzer/rust-analyzer/issues</bugs-to>
</upstream>
<maintainer type="person">
<email>contrib_x@protonmail.com</email>
<name>James Kalyan</name>
</maintainer>
</pkgmetadata>

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