24 lines
658 B
Bash
24 lines
658 B
Bash
# Template file for 'rust-analyzer'
|
|
pkgname=rust-analyzer
|
|
version=2023.07.03
|
|
revision=1
|
|
_ver=${version//./-}
|
|
build_style=cargo
|
|
make_install_args="--path=crates/rust-analyzer"
|
|
short_desc="Rust compiler front-end for IDEs"
|
|
maintainer="Gabriel Sanches <gabriel@gsr.dev>"
|
|
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=8212fd4f4337166f046cab44463185226e6782554c956cddbe2786c8e1dd510e
|
|
# tests require Rust source code
|
|
make_check=no
|
|
|
|
export CFG_RELEASE=${_ver}
|
|
|
|
post_install() {
|
|
vlicense LICENSE-APACHE
|
|
vlicense LICENSE-MIT
|
|
vdoc README.md
|
|
}
|