mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
rustup: update to 1.13.0.
Also added completion scripts.
This commit is contained in:
parent
45dcee8569
commit
7da09a35d7
1 changed files with 14 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rustup'
|
# Template file for 'rustup'
|
||||||
pkgname=rustup
|
pkgname=rustup
|
||||||
version=1.11.0
|
version=1.13.0
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="${pkgname}.rs-${version}"
|
wrksrc="${pkgname}.rs-${version}"
|
||||||
conflicts="cargo rust"
|
conflicts="cargo rust"
|
||||||
hostmakedepends="cargo perl pkg-config"
|
hostmakedepends="cargo perl pkg-config"
|
||||||
|
@ -11,7 +11,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=000b873f239e8c5219ede3fd5836d6346ebea64ea928e2d754cdfc0f2071a874
|
checksum=9671934a6352366d8055769f1f5b297d9a15b4448634ee9fdf7c31c246fa5a4e
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
@ -24,6 +24,17 @@ do_install() {
|
||||||
for cmd in cargo rust-gdb rust-lldb rustc rustdoc; do
|
for cmd in cargo rust-gdb rust-lldb rustc rustdoc; do
|
||||||
ln -s rustup ${DESTDIR}/usr/bin/${cmd}
|
ln -s rustup ${DESTDIR}/usr/bin/${cmd}
|
||||||
done
|
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
|
||||||
|
|
||||||
|
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/
|
||||||
|
|
||||||
vdoc README.md
|
vdoc README.md
|
||||||
vlicense LICENSE-APACHE
|
vlicense LICENSE-APACHE
|
||||||
vlicense LICENSE-MIT
|
vlicense LICENSE-MIT
|
||||||
|
|
Loading…
Add table
Reference in a new issue