# Template file for 'rust-analyzer' pkgname=rust-analyzer version=2021.03.01 revision=2 _ver=${version//./-} wrksrc="${pkgname}-${_ver}" build_style=cargo make_install_args="--path=crates/${pkgname}" short_desc="Rust compiler front-end for IDEs" maintainer="Gabriel Sanches " license="Apache-2.0, MIT" homepage="https://rust-analyzer.github.io/" distfiles="https://github.com/${pkgname}/${pkgname}/archive/${_ver}.tar.gz" checksum=6893a1fc972297dddd48debf87a107b7dcf9f739e221e251e2ef86f469df365f export RUST_ANALYZER_REV=${_ver} do_check() { : # tests require Rust source code } post_install() { vlicense LICENSE-APACHE vlicense LICENSE-MIT vdoc README.md }