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:
Rasmus Thomsen 2018-10-25 20:42:28 +02:00 committed by Enno Boland
parent 7193ed84a2
commit 3c43402258

View file

@ -1,7 +1,7 @@
# Template file for 'rustup'
pkgname=rustup
version=1.14.0
revision=2
revision=3
wrksrc="${pkgname}.rs-${version}"
build_style=cargo
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"
checksum=ab125d9b12bf0f3f7e7ad98e826035fa1ae3dbe6ba8b78be4c82f9cde00bc59f
conflicts="rust cargo"
do_install() {
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
# generate shell completions