From ea0f86367a7217885515b6527bde07d38c99b4da Mon Sep 17 00:00:00 2001 From: sk0kanik <37567788+sk0kanik@users.noreply.github.com> Date: Thu, 4 Nov 2021 21:23:22 +0600 Subject: [PATCH] Bump rust to 1.56.1 and separate rust's documentation (#7921) * Separate rust's documentation as subpackage These documentation files use about 530MB disk space. Most users don't need them. * Bump Rust to 1.56.1 and capitilize subpackage description --- packages/rust/build.sh | 4 ++-- packages/rust/rust-docs.subpackage.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 packages/rust/rust-docs.subpackage.sh diff --git a/packages/rust/build.sh b/packages/rust/build.sh index d30a6db12..d0b730d2b 100644 --- a/packages/rust/build.sh +++ b/packages/rust/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.rust-lang.org/ TERMUX_PKG_DESCRIPTION="Systems programming language focused on safety, speed and concurrency" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=1.56.0 +TERMUX_PKG_VERSION=1.56.1 TERMUX_PKG_SRCURL=https://static.rust-lang.org/dist/rustc-$TERMUX_PKG_VERSION-src.tar.xz -TERMUX_PKG_SHA256=f13468889833c88e744ad579c5d8fbb7ecb53216159b54481a90e5dcdaa9e320 +TERMUX_PKG_SHA256=61fdcc8bc2530ee18f91318347e09b7cc07e9ca04b1c627c135ecc8dcb8f2ac5 TERMUX_PKG_DEPENDS="libc++, clang, openssl, lld, zlib, libllvm" TERMUX_PKG_RM_AFTER_INSTALL="bin/llvm-dwp" diff --git a/packages/rust/rust-docs.subpackage.sh b/packages/rust/rust-docs.subpackage.sh new file mode 100644 index 000000000..aeb8361b9 --- /dev/null +++ b/packages/rust/rust-docs.subpackage.sh @@ -0,0 +1,3 @@ +TERMUX_SUBPKG_DESCRIPTION="Rust documentation" +TERMUX_SUBPKG_PLATFORM_INDEPENDENT=true +TERMUX_SUBPKG_INCLUDE="share/doc/rust/html"