1 # Copyright 2017-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
21 constant_time_eq-0.1.5
23 crossbeam-channel-0.4.0
35 derive_builder_core-0.9.0
96 winapi-i686-pc-windows-gnu-0.4.0
98 winapi-x86_64-pc-windows-gnu-0.4.0
104 DESCRIPTION="Command-line fuzzy finder"
105 HOMEPAGE="https://github.com/lotabout/skim"
106 SRC_URI="$(cargo_crate_uris ${CRATES})"
108 LICENSE="Apache-2.0 MIT MPL-2.0 Unlicense"
110 KEYWORDS="~amd64 ~ppc64 ~x86"
114 tmux? ( app-misc/tmux )
115 vim? ( || ( app-editors/vim app-editors/gvim ) )
118 QA_FLAGS_IGNORED="usr/bin/sk"
121 # prevent cargo_src_install() blowing up on man installation
122 mv man manpages || die
125 dodoc CHANGELOG.md README.md
126 doman manpages/man1/*
128 use tmux && dobin bin/sk-tmux
131 insinto /usr/share/vim/vimfiles/plugin
132 doins plugin/skim.vim
135 # install bash/zsh completion and keybindings
136 # since provided completions override a lot of commands, install to /usr/share
137 insinto /usr/share/${PN}
138 doins shell/{*.bash,*.zsh}