cargo: install bash completion to /usr/share.
This commit is contained in:
parent
3b60b1a2f6
commit
5350983b78
1 changed files with 2 additions and 1 deletions
|
@ -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-}"
|
||||
|
|
Loading…
Reference in a new issue