rust-analyzer: update to 2024.10.07.
[void-pkg.git] / srcpkgs / rust-analyzer / template
blob9c81eec5f34fdad2b70d91a322ea24589e90a764
1 # Template file for 'rust-analyzer'
2 pkgname=rust-analyzer
3 version=2024.10.07
4 revision=1
5 _ver=${version//./-}
6 build_style=cargo
7 make_install_args="--path=crates/rust-analyzer"
8 short_desc="Rust compiler front-end for IDEs"
9 maintainer="icp <pangolin@vivaldi.net>"
10 license="Apache-2.0, MIT"
11 homepage="https://rust-analyzer.github.io/"
12 distfiles="https://github.com/rust-lang/rust-analyzer/archive/refs/tags/${_ver}.tar.gz"
13 checksum=f46fb1c3bc4d6e7d328a123c0770c69a22b557d238aeec8d68175e0c3cd66bd1
14 # tests require Rust source code
15 make_check=no
17 export CFG_RELEASE=${_ver}
19 post_install() {
20         vlicense LICENSE-APACHE
21         vlicense LICENSE-MIT
22         vdoc README.md