From 03bbabe6767478127f8666d9343a4234ee0fe5c3 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.09.14 --- srcpkgs/rust-analyzer/template | 20 ++++++++++++++++++++ 1 file changed, 20 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..1361ce39766 --- /dev/null +++ b/srcpkgs/rust-analyzer/template @@ -0,0 +1,20 @@ +# 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 " +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 +}