From 6459e90b98c5a2b24c27f59490c685926ced355f Mon Sep 17 00:00:00 2001 From: Gabriel Sanches Date: Fri, 17 Jul 2020 15:50:57 -0300 Subject: [PATCH] New package: rust-analyzer-2020.07.13 --- srcpkgs/rust-analyzer/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/rust-analyzer/template diff --git a/srcpkgs/rust-analyzer/template b/srcpkgs/rust-analyzer/template new file mode 100644 index 00000000000..237475e6c4f --- /dev/null +++ b/srcpkgs/rust-analyzer/template @@ -0,0 +1,21 @@ +# Template file for 'rust-analyzer' +pkgname=rust-analyzer +version=2020.07.13 +revision=1 +_ver=${version//./-} +wrksrc="${pkgname}-${_ver}" +build_style=cargo +make_install_args="--path=crates/${pkgname}" +hostmakedepends="rust" +short_desc="Rust compiler front-end for IDEs" +maintainer="Gabriel Sanches " +license="Apache-2.0, MIT" +homepage="https://rust-analyzer.github.io/" +distfiles="https://github.com/${pkgname}/${pkgname}/archive/${_ver}.tar.gz" +checksum=e4176167bba26eeb7bc7bbf5be45d261e05e231331135dfbc6f12f927ac6eb60 + +post_install() { + vlicense LICENSE-APACHE + vlicense LICENSE-MIT + vdoc README.md +}