21 lines
596 B
Bash
21 lines
596 B
Bash
# Template file for 'rust-analyzer'
|
|
pkgname=rust-analyzer
|
|
version=2020.09.14
|
|
revision=1
|
|
_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 <gabriel@gsr.dev>"
|
|
license="Apache-2.0, MIT"
|
|
homepage="https://rust-analyzer.github.io/"
|
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${_ver}.tar.gz"
|
|
checksum=162c0acac4c025e287deab7974340bf6147343495697ac72101cb8d56caab01e
|
|
|
|
post_install() {
|
|
vlicense LICENSE-APACHE
|
|
vlicense LICENSE-MIT
|
|
vdoc README.md
|
|
}
|