mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-process/procs: Use new cargo_target_dir helper
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.6.3
|
||||
@@ -280,14 +280,14 @@ QA_FLAGS_IGNORED="usr/bin/procs"
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
target/$(usex debug debug release)/procs --gen-completion bash || die
|
||||
"$(cargo_target_dir)"/procs --gen-completion bash || die
|
||||
newbashcomp procs.bash procs
|
||||
|
||||
target/$(usex debug debug release)/procs --gen-completion zsh || die
|
||||
"$(cargo_target_dir)"/procs --gen-completion zsh || die
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _procs
|
||||
|
||||
target/$(usex debug debug release)/procs --gen-completion fish || die
|
||||
"$(cargo_target_dir)"/procs --gen-completion fish || die
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins procs.fish
|
||||
}
|
||||
|
||||
@@ -308,14 +308,14 @@ QA_FLAGS_IGNORED="usr/bin/procs"
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
target/$(usex debug debug release)/procs --gen-completion bash || die
|
||||
"$(cargo_target_dir)"/procs --gen-completion bash || die
|
||||
newbashcomp procs.bash procs
|
||||
|
||||
target/$(usex debug debug release)/procs --gen-completion zsh || die
|
||||
"$(cargo_target_dir)"/procs --gen-completion zsh || die
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _procs
|
||||
|
||||
target/$(usex debug debug release)/procs --gen-completion fish || die
|
||||
"$(cargo_target_dir)"/procs --gen-completion fish || die
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins procs.fish
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user