void-packages/srcpkgs/rust-analyzer/template
2024-01-17 13:27:45 -05:00

23 lines
651 B
Bash

# Template file for 'rust-analyzer'
pkgname=rust-analyzer
version=2024.01.15
revision=1
_ver=${version//./-}
build_style=cargo
make_install_args="--path=crates/rust-analyzer"
short_desc="Rust compiler front-end for IDEs"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0, MIT"
homepage="https://rust-analyzer.github.io/"
distfiles="https://github.com/rust-lang/rust-analyzer/archive/refs/tags/${_ver}.tar.gz"
checksum=d1bf6864d7d711c879744da8d142fdc083da722118412d7e3b3cde6c662695b8
# tests require Rust source code
make_check=no
export CFG_RELEASE=${_ver}
post_install() {
vlicense LICENSE-APACHE
vlicense LICENSE-MIT
vdoc README.md
}