From 11b9a8c4c44a8d45e23d78eb068664d40dc38f4f Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Thu, 31 Oct 2019 21:32:46 +0100 Subject: [PATCH] new package: rust-src-1.38.0 --- srcpkgs/rust-src/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/rust-src/template diff --git a/srcpkgs/rust-src/template b/srcpkgs/rust-src/template new file mode 100644 index 00000000000..33bfce64dc0 --- /dev/null +++ b/srcpkgs/rust-src/template @@ -0,0 +1,21 @@ +# Template file for 'rust-src' +pkgname=rust-src +version=1.38.0 +revision=1 +build_style=fetch +wrksrc="rust-${version}" +short_desc="Rust sources" +maintainer="Alexander Egorenkov " +license="Apache-2.0, MIT" +homepage="https://github.com/rust-lang/rust" +distfiles="${homepage}/archive/${version}.tar.gz" +checksum=6f9762e091f645c7ec93fdd5a094f8af1176b519569f6a2dfd6c850cc0f471a0 +archs=noarch + +do_install() { + vmkdir usr/share/rust/${version} 0755 + vcopy src usr/share/rust/${version}/ + vlicense LICENSE-APACHE + vlicense LICENSE-MIT +} +