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'
|
# Template file for 'rustup'
|
||||||
pkgname=rustup
|
pkgname=rustup
|
||||||
version=1.13.0
|
version=1.14.0
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="${pkgname}.rs-${version}"
|
wrksrc="${pkgname}.rs-${version}"
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
configure_args="--features no-self-update --bin rustup-init"
|
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"
|
license="Apache-2.0, MIT"
|
||||||
homepage="https://www.rustup.rs"
|
homepage="https://www.rustup.rs"
|
||||||
distfiles="https://github.com/rust-lang-nursery/${pkgname}.rs/archive/${version}.tar.gz"
|
distfiles="https://github.com/rust-lang-nursery/${pkgname}.rs/archive/${version}.tar.gz"
|
||||||
checksum=9671934a6352366d8055769f1f5b297d9a15b4448634ee9fdf7c31c246fa5a4e
|
checksum=a19310b180aaa373cf01007ab19836ba6bb1360aebad01471c81698140afbe55
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
cargo update --package openssl-sys --precise 0.9.2
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin target/${RUST_TARGET}/release/rustup-init rustup
|
vbin target/${RUST_TARGET}/release/rustup-init rustup
|
||||||
|
@ -24,15 +20,17 @@ do_install() {
|
||||||
ln -s rustup ${DESTDIR}/usr/bin/${cmd}
|
ln -s rustup ${DESTDIR}/usr/bin/${cmd}
|
||||||
done
|
done
|
||||||
|
|
||||||
# generate shell completions
|
if ! [ "$CROSS_BUILD" ]; then
|
||||||
ln -s target/release/rustup-init rustup
|
# generate shell completions
|
||||||
./rustup completions zsh > rustup.zsh
|
ln -s target/${RUST_TARGET}/release/rustup-init rustup
|
||||||
./rustup completions bash > rustup.bash
|
./rustup completions zsh > rustup.zsh
|
||||||
./rustup completions fish > rustup.fish
|
./rustup completions bash > rustup.bash
|
||||||
|
./rustup completions fish > rustup.fish
|
||||||
|
|
||||||
vinstall rustup.zsh 0644 usr/share/zsh/site-functions/ _rustup
|
vinstall rustup.zsh 0644 usr/share/zsh/site-functions/ _rustup
|
||||||
vinstall rustup.bash 0644 usr/share/bash-completion/completions/ rustup
|
vinstall rustup.bash 0644 usr/share/bash-completion/completions/ rustup
|
||||||
vinstall rustup.fish 0644 usr/share/fish/completions/
|
vinstall rustup.fish 0644 usr/share/fish/completions/
|
||||||
|
fi
|
||||||
|
|
||||||
vdoc README.md
|
vdoc README.md
|
||||||
vlicense LICENSE-APACHE
|
vlicense LICENSE-APACHE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue