diff --git a/srcpkgs/cargo/template b/srcpkgs/cargo/template index 5b4582ca828..40ad308387c 100644 --- a/srcpkgs/cargo/template +++ b/srcpkgs/cargo/template @@ -1,7 +1,7 @@ # Template file for 'cargo' pkgname=cargo version=0.4.0 -revision=1 +revision=2 _githash_installer=c37d3747da75c280237dc2d6b925078e69555499 build_style=gnu-configure hostmakedepends="rust python curl cmake pkg-config" @@ -20,6 +20,7 @@ nocross=yes post_extract() { rm -rf src/rust-installer mv ../rust-installer-${_githash_installer} src/rust-installer + sed -i 's,/etc/bash_completion.d,/share/bash-completion/completions,g' Makefile.in } pre_configure() { configure_args+=" --host=${XBPS_TRIPLET/-pc-/-unknown-} --build=${XBPS_TRIPLET/-pc-/-unknown-}"