cargo: install bash completion to /usr/share.
This commit is contained in:
parent
3b60b1a2f6
commit
5350983b78
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'cargo'
|
# Template file for 'cargo'
|
||||||
pkgname=cargo
|
pkgname=cargo
|
||||||
version=0.4.0
|
version=0.4.0
|
||||||
revision=1
|
revision=2
|
||||||
_githash_installer=c37d3747da75c280237dc2d6b925078e69555499
|
_githash_installer=c37d3747da75c280237dc2d6b925078e69555499
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="rust python curl cmake pkg-config"
|
hostmakedepends="rust python curl cmake pkg-config"
|
||||||
@ -20,6 +20,7 @@ nocross=yes
|
|||||||
post_extract() {
|
post_extract() {
|
||||||
rm -rf src/rust-installer
|
rm -rf src/rust-installer
|
||||||
mv ../rust-installer-${_githash_installer} 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() {
|
pre_configure() {
|
||||||
configure_args+=" --host=${XBPS_TRIPLET/-pc-/-unknown-} --build=${XBPS_TRIPLET/-pc-/-unknown-}"
|
configure_args+=" --host=${XBPS_TRIPLET/-pc-/-unknown-} --build=${XBPS_TRIPLET/-pc-/-unknown-}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user