mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
rustup: don't conflict with rust
We don't need the symlinks in /usr/bin because rustup sets PATH to include the downloaded binaries.
This commit is contained in:
parent
2245205b4d
commit
c5d3df354d
1 changed files with 1 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rustup'
|
# Template file for 'rustup'
|
||||||
pkgname=rustup
|
pkgname=rustup
|
||||||
version=1.14.0
|
version=1.14.0
|
||||||
revision=2
|
revision=3
|
||||||
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"
|
||||||
|
@ -14,13 +14,8 @@ 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=ab125d9b12bf0f3f7e7ad98e826035fa1ae3dbe6ba8b78be4c82f9cde00bc59f
|
checksum=ab125d9b12bf0f3f7e7ad98e826035fa1ae3dbe6ba8b78be4c82f9cde00bc59f
|
||||||
|
|
||||||
conflicts="rust cargo"
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin target/${RUST_TARGET}/release/rustup-init rustup
|
vbin target/${RUST_TARGET}/release/rustup-init rustup
|
||||||
for cmd in cargo rust-gdb rust-lldb rustc rustdoc; do
|
|
||||||
ln -s rustup ${DESTDIR}/usr/bin/${cmd}
|
|
||||||
done
|
|
||||||
|
|
||||||
if ! [ "$CROSS_BUILD" ]; then
|
if ! [ "$CROSS_BUILD" ]; then
|
||||||
# generate shell completions
|
# generate shell completions
|
||||||
|
|
Loading…
Add table
Reference in a new issue