From 1d2a346e8c1cfb76ca90c4ceec86c9026f822172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Wed, 23 Dec 2020 12:58:19 +0100 Subject: [PATCH] rustup: update to 1.23.1. --- srcpkgs/rustup/template | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/srcpkgs/rustup/template b/srcpkgs/rustup/template index 6472ae1f10c..279c30e2dae 100644 --- a/srcpkgs/rustup/template +++ b/srcpkgs/rustup/template @@ -1,7 +1,9 @@ # Template file for 'rustup' pkgname=rustup -version=1.22.1 -revision=2 +version=1.23.1 +revision=1 +# rustup doesn't recognize this target +archs="~armv6l-musl" build_style=cargo build_helper=qemu configure_args="--features no-self-update --bin rustup-init" @@ -12,28 +14,24 @@ maintainer="Jan Christian Grünhage " license="Apache-2.0, MIT" homepage="https://www.rustup.rs" distfiles="https://github.com/rust-lang/${pkgname}/archive/${version}.tar.gz" -checksum=ad46cc624f318a9493aa62fc9612a450564fe20ba93c689e0ad856bff3c64c5b +checksum=0203231bfe405ee1c7d5e7e1c013b9b8a2dc87fbd8474e77f500331d8c26365f post_build() { - # rustup errors out because it doesn't know about armv6l-musl - if [ "$XBPS_TARGET_MACHINE" != armv6l-musl ]; then - RUSTUP="target/${RUST_TARGET}/release/rustup-init" - ln -sf "$RUSTUP" rustup - # generate shell completions - vtargetrun ./rustup completions zsh >rustup.zsh - vtargetrun ./rustup completions bash >rustup.bash - vtargetrun ./rustup completions fish >rustup.fish - fi + RUSTUP="target/${RUST_TARGET}/release/rustup-init" + ln -sf "$RUSTUP" rustup + + # generate shell completions + vtargetrun ./rustup completions zsh >rustup.zsh + vtargetrun ./rustup completions bash >rustup.bash + vtargetrun ./rustup completions fish >rustup.fish } do_install() { vbin target/${RUST_TARGET}/release/rustup-init - if [ "$XBPS_TARGET_MACHINE" != armv6l-musl ]; then - vcompletion rustup.bash bash - vcompletion rustup.fish fish - vcompletion rustup.zsh zsh - fi + vcompletion rustup.bash bash + vcompletion rustup.fish fish + vcompletion rustup.zsh zsh vdoc README.md vlicense LICENSE-APACHE