rustup: make up for upstream changes

This commit is contained in:
Jan Christian Grünhage 2019-11-25 08:50:54 +01:00 committed by Helmut Pozimski
parent 580f5334f6
commit f8c1b00089

View file

@ -1,8 +1,7 @@
# Template file for 'rustup'
pkgname=rustup
version=1.20.2
revision=3
wrksrc="${pkgname}.rs-${version}"
revision=4
build_style=cargo
configure_args="--features no-self-update --bin rustup-init"
hostmakedepends="perl pkg-config"
@ -11,12 +10,12 @@ short_desc="Rust toolchain installer"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="Apache-2.0, MIT"
homepage="https://www.rustup.rs"
distfiles="https://github.com/rust-lang-nursery/${pkgname}.rs/archive/${version}.tar.gz"
checksum=4d47ef7468c615fd10fbb07a16c15754336263d7417ee1685dfbd6e3ec151084
distfiles="https://github.com/rust-lang/${pkgname}/archive/${version}.tar.gz"
checksum=28207ee4c2d66840ca903df152b23b916326a5d3eeb643a1de0f24a16afa4209
pre_build() {
cargo update --package openssl-sys --precise 0.9.51
cargo update --package openssl --precise 0.10.25
cargo update --package openssl-sys --precise 0.9.53
cargo update --package openssl --precise 0.10.26
}
do_install() {