2024-08-22 23:31:10 -04:00

24 lines
651 B
Bash

# Template file for 'rust-analyzer'
pkgname=rust-analyzer
version=2024.08.19
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=d8c98eac596fbc2b0c1559b990390948e59c3f9fa980256e0e3dc5cc4dfe11de
# tests require Rust source code
make_check=no
export CFG_RELEASE=${_ver}
post_install() {
vlicense LICENSE-APACHE
vlicense LICENSE-MIT
vdoc README.md
}