mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-23 01:27:02 +02:00
23 lines
651 B
Bash
23 lines
651 B
Bash
# Template file for 'rust-analyzer'
|
|
pkgname=rust-analyzer
|
|
version=2025.04.14
|
|
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=a574875178eaa94babbea1b04aefacfcd320a6bfaacb36e07fd44f19edf2a099
|
|
# tests require Rust source code
|
|
make_check=no
|
|
|
|
export CFG_RELEASE=${_ver}
|
|
|
|
post_install() {
|
|
vlicense LICENSE-APACHE
|
|
vlicense LICENSE-MIT
|
|
vdoc README.md
|
|
}
|