rustup: update to 1.14.0.
This commit is contained in:
parent
27a88f05a8
commit
d38e0a60a7
1 changed files with 13 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'rustup'
|
||||
pkgname=rustup
|
||||
version=1.13.0
|
||||
revision=2
|
||||
version=1.14.0
|
||||
revision=1
|
||||
wrksrc="${pkgname}.rs-${version}"
|
||||
build_style=cargo
|
||||
configure_args="--features no-self-update --bin rustup-init"
|
||||
|
@ -12,11 +12,7 @@ maintainer="Daniel Lee Ramírez <dleeram@protonmail.com>"
|
|||
license="Apache-2.0, MIT"
|
||||
homepage="https://www.rustup.rs"
|
||||
distfiles="https://github.com/rust-lang-nursery/${pkgname}.rs/archive/${version}.tar.gz"
|
||||
checksum=9671934a6352366d8055769f1f5b297d9a15b4448634ee9fdf7c31c246fa5a4e
|
||||
|
||||
pre_build() {
|
||||
cargo update --package openssl-sys --precise 0.9.2
|
||||
}
|
||||
checksum=a19310b180aaa373cf01007ab19836ba6bb1360aebad01471c81698140afbe55
|
||||
|
||||
do_install() {
|
||||
vbin target/${RUST_TARGET}/release/rustup-init rustup
|
||||
|
@ -24,15 +20,17 @@ do_install() {
|
|||
ln -s rustup ${DESTDIR}/usr/bin/${cmd}
|
||||
done
|
||||
|
||||
# generate shell completions
|
||||
ln -s target/release/rustup-init rustup
|
||||
./rustup completions zsh > rustup.zsh
|
||||
./rustup completions bash > rustup.bash
|
||||
./rustup completions fish > rustup.fish
|
||||
if ! [ "$CROSS_BUILD" ]; then
|
||||
# generate shell completions
|
||||
ln -s target/${RUST_TARGET}/release/rustup-init rustup
|
||||
./rustup completions zsh > rustup.zsh
|
||||
./rustup completions bash > rustup.bash
|
||||
./rustup completions fish > rustup.fish
|
||||
|
||||
vinstall rustup.zsh 0644 usr/share/zsh/site-functions/ _rustup
|
||||
vinstall rustup.bash 0644 usr/share/bash-completion/completions/ rustup
|
||||
vinstall rustup.fish 0644 usr/share/fish/completions/
|
||||
vinstall rustup.zsh 0644 usr/share/zsh/site-functions/ _rustup
|
||||
vinstall rustup.bash 0644 usr/share/bash-completion/completions/ rustup
|
||||
vinstall rustup.fish 0644 usr/share/fish/completions/
|
||||
fi
|
||||
|
||||
vdoc README.md
|
||||
vlicense LICENSE-APACHE
|
||||
|
|
Loading…
Add table
Reference in a new issue