cargo: install bash completion to /usr/share.

This commit is contained in:
Christian Neukirchen 2015-08-17 18:10:42 +02:00
parent 3b60b1a2f6
commit 5350983b78

View file

@ -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-}"