From 6d0660a1211b10cdb555279031bda04c3b730c58 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..e43b87e3269 --- /dev/null +++ b/srcpkgs/rust-analyzer/template @@ -0,0 +1,21 @@ +# Template file for 'rust-analyzer' +pkgname=rust-analyzer +version=2020.07.13 +_ver=${version//./-} +revision=1 +build_style=cargo +make_install_args="--path=crates/${pkgname}" +hostmakedepends="rust" +short_desc="An experimental Rust compiler front-end for IDEs" +maintainer="Gabriel Sanches " +license="Apache-2.0, MIT" +homepage="https://${pkgname}.github.io/" +distfiles="https://github.com/${pkgname}/${pkgname}/archive/${_ver}.tar.gz" +checksum=e4176167bba26eeb7bc7bbf5be45d261e05e231331135dfbc6f12f927ac6eb60 +wrksrc="${pkgname}-${_ver}" + +post_install() { + vlicense LICENSE-APACHE + vlicense LICENSE-MIT + vdoc README.md +}