mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
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'
|
# 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…
Add table
Reference in a new issue