diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
commit | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch) | |
tree | c85d72f6f31f21f178069c9d41d41a7c1ff4b362 /app-misc/skim/skim-0.6.4.ebuild | |
parent | 0706fc6986773f4e4d391deff4ad5143c464ea4e (diff) |
gentoo resync : 05.04.2019
Diffstat (limited to 'app-misc/skim/skim-0.6.4.ebuild')
-rw-r--r-- | app-misc/skim/skim-0.6.4.ebuild | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/app-misc/skim/skim-0.6.4.ebuild b/app-misc/skim/skim-0.6.4.ebuild new file mode 100644 index 000000000000..7eab30978e94 --- /dev/null +++ b/app-misc/skim/skim-0.6.4.ebuild @@ -0,0 +1,108 @@ +# Copyright 2017-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +aho-corasick-0.6.10 +ansi_term-0.11.0 +arrayvec-0.4.10 +atty-0.2.11 +bitflags-1.0.4 +byteorder-1.3.1 +cc-1.0.31 +cfg-if-0.1.7 +clap-2.32.0 +crossbeam-deque-0.2.0 +crossbeam-epoch-0.3.1 +crossbeam-utils-0.2.2 +darling-0.8.6 +darling_core-0.8.6 +darling_macro-0.8.6 +derive_builder-0.7.1 +derive_builder_core-0.4.1 +either-1.5.1 +env_logger-0.4.3 +fnv-1.0.6 +fuzzy-matcher-0.2.1 +ident_case-1.0.1 +lazy_static-0.2.11 +lazy_static-1.3.0 +libc-0.2.50 +log-0.3.9 +log-0.4.6 +memchr-2.2.0 +memoffset-0.2.1 +nix-0.11.0 +nodrop-0.1.13 +num_cpus-1.10.0 +proc-macro2-0.4.27 +quote-0.6.11 +rayon-1.0.3 +rayon-core-1.4.1 +redox_syscall-0.1.51 +redox_termios-0.1.1 +regex-0.2.11 +regex-syntax-0.5.6 +scopeguard-0.3.3 +shlex-0.1.1 +strsim-0.7.0 +syn-0.15.29 +term-0.5.1 +termion-1.5.1 +textwrap-0.10.0 +thread_local-0.3.6 +time-0.1.42 +tuikit-0.2.4 +ucd-util-0.1.3 +unicode-width-0.1.5 +unicode-xid-0.1.0 +utf8-ranges-1.0.2 +utf8parse-0.1.1 +vec_map-0.8.1 +void-1.0.2 +vte-0.3.3 +winapi-0.3.6 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-x86_64-pc-windows-gnu-0.4.0 +" + +inherit cargo + +DESCRIPTION="a command-line fuzzy finder" +HOMEPAGE="https://github.com/lotabout/skim" +SRC_URI="https://github.com/lotabout/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES})" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="tmux vim" + +RDEPEND=" + tmux? ( app-misc/tmux ) + vim? ( || ( app-editors/vim app-editors/gvim ) ) +" + +QA_FLAGS_IGNORED="usr/bin/sk" + +src_install() { + # prevent cargo_src_install() blowing up on man installation + mv man manpages || die + + cargo_src_install --path=. + dodoc CHANGELOG.md README.md + doman manpages/man1/* + + use tmux && dobin bin/sk-tmux + + if use vim; then + insinto /usr/share/vim/vimfiles/plugin + doins plugin/skim.vim + fi + + # install bash/zsh completion and keybindings + # since provided completions override a lot of commands, install to /usr/share + insinto /usr/share/${PN} + doins shell/{*.bash,*.zsh} +} |