mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-util/xmake: switch to shell-completion.eclass
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 optfeature
|
||||
inherit optfeature shell-completion
|
||||
|
||||
DESCRIPTION="A cross-platform build utility based on Lua"
|
||||
HOMEPAGE="https://xmake.io"
|
||||
@@ -59,12 +59,8 @@ src_install() {
|
||||
|
||||
newbashcomp xmake/scripts/completions/register-completions.bash xmake
|
||||
bashcomp_alias xmake xrepo
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins xmake/scripts/completions/register-completions.zsh xmake.zsh
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
newins xmake/scripts/completions/register-completions.fish xmake.fish
|
||||
newzshcomp xmake/scripts/completions/register-completions.zsh _xmake
|
||||
newfishcomp xmake/scripts/completions/register-completions.fish xmake.fish
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 optfeature
|
||||
inherit optfeature shell-completion
|
||||
|
||||
DESCRIPTION="A cross-platform build utility based on Lua"
|
||||
HOMEPAGE="https://xmake.io"
|
||||
@@ -59,12 +59,8 @@ src_install() {
|
||||
|
||||
newbashcomp xmake/scripts/completions/register-completions.bash xmake
|
||||
bashcomp_alias xmake xrepo
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins xmake/scripts/completions/register-completions.zsh xmake.zsh
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
newins xmake/scripts/completions/register-completions.fish xmake.fish
|
||||
newzshcomp xmake/scripts/completions/register-completions.zsh _xmake
|
||||
newfishcomp xmake/scripts/completions/register-completions.fish xmake.fish
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Reference in New Issue
Block a user