# Template file for 'rust-analyzer'
pkgname=rust-analyzer
version=2026.07.20
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=400a4f5f6990d7e2befee21eaa7a0c2a2090a0c7d9bee24e11733483f2a380e7
# tests require Rust source code
make_check=no

export CFG_RELEASE=${_ver}

post_install() {
	vlicense LICENSE-APACHE
	vlicense LICENSE-MIT
	vdoc README.md
}
