diff options
Diffstat (limited to 'app-misc/skim')
-rw-r--r-- | app-misc/skim/Manifest | 1 | ||||
-rw-r--r-- | app-misc/skim/skim-0.5.5.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/app-misc/skim/Manifest b/app-misc/skim/Manifest index ed48f7522de0..8be2be40c6a3 100644 --- a/app-misc/skim/Manifest +++ b/app-misc/skim/Manifest @@ -19,6 +19,7 @@ DIST regex-syntax-0.4.1.crate 121453 BLAKE2B da7f780fdb19e0516cbe94eb3361b8f3b02 DIST shlex-0.1.1.crate 5687 BLAKE2B 8e2942051c783369a8161b667f8f5b73b2081f766db26d685b4d3060f8faeecf78e8763ab927149d4cb08a29af756105f7ec3c3408ad6be2e7618053329fbed2 SHA512 a4d202897861ca7955a3561dc1b0fd0307d77948c9b97aa0f8b9caff2b9721d2836a08760d308675973b0e9c7bae92e4d5fbd2a2497cba9e5aeefbe31075e069 DIST skim-0.5.2.tar.gz 78847 BLAKE2B 0530a730abce8bdcaff1e6b2637777e87a0a9184dde112b9c8b4dde08780d7d50cb8bb4ec2ef555df941be4e89f1f3aa49b335e640702bf8b10e609d6cfba211 SHA512 018962a728b9729b51afdc8975cddeceec84731f43b776a740ad2b4d2a479ceadd7a4d45c6eb5389ef73cdf18955a74ac85e9bbb4ad823e4d4a5d9972a4aa19d DIST skim-0.5.4.tar.gz 87040 BLAKE2B c7816dae5142d3230bf98db7c86ec8b8d78adac52dfe19c6760d65b6ea81e704f84c4127c9ca1d74812ddef69595290a8f09f01869a41dc17a42a33d2eedb15b SHA512 f21af6c86ca6b1c4aab1b715c1c47ced1d06c45216a03493cfc3f01d7ed6ecb6e287a335d0756f4b82b97d4d22493b01598569a0529bc57983a5a4716427af83 +DIST skim-0.5.5.tar.gz 87411 BLAKE2B 98dbd5d8f5d45a0752975316aa41971622e6d65e91dbfe9c8248882931d05dcfb0d8ab32fc51504060fd41aef7c456c8f753e2939a726ad41cd3b82515adeeb1 SHA512 a6970252633e32004edc4e4cf910a5d07d1a63b11b77e56d5ddc6ad656d33ea984dc02523fbfaf5eeb58c197d95a17fb6bcdf16448d68c6a239798b3180d7aa2 DIST strsim-0.6.0.crate 8500 BLAKE2B fb5d756691a359d086886bf579445a262d2691285c120670e1b9da828922e43630339d59e4dbc98fe1fd6c92785264bef645be4ca80681059d8ee9f6d7be582b SHA512 43cbcf2cab7f91515f52f20719e8013cff23807ca79a9a69f1997ec1ba2eacf713d64c88e33f4c9ba852fb3dda4b87e943587ae4b6ff5bfbbb81deb6dbf76a97 DIST termion-1.5.1.crate 20659 BLAKE2B 5b4291c2c26a074c16eac2e7bcb40467380181bac69c941e5c958059dc239cbbfd74872d9bd3da65245d010f9fc39804c43dc96f4caab2499b021cf35977a6b0 SHA512 1d1536f08600c7c1f414b4579a1a6e7eff91f4c105504125118d3cadf71c7886a352d1c5f7e07f3d7c28aa8b4752f07b51eddb4d9adc6a9286f7b6bade2bec76 DIST textwrap-0.9.0.crate 15795 BLAKE2B c4dd89d5757da74c145b6971cd08844f3a6eeb5d29ca012b67010743a2637ed83bca00eefb54ec3ddb1d02a06c9cc3b84984919e6fd187dd71ed9c2e8af41f63 SHA512 e176f703f971eefb5cfc1ecf9047858bd7610a58fa4103879fd963b292c79872bd8466ef8fc9742a428ac707400dade307e72fa965dc4d61da66e932e5b20c35 diff --git a/app-misc/skim/skim-0.5.5.ebuild b/app-misc/skim/skim-0.5.5.ebuild new file mode 100644 index 000000000000..37e18dab525f --- /dev/null +++ b/app-misc/skim/skim-0.5.5.ebuild @@ -0,0 +1,74 @@ +# Copyright 2017-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +aho-corasick-0.6.4 +ansi_term-0.10.2 +atty-0.2.3 +bitflags-1.0.1 +cc-1.0.17 +cfg-if-0.1.3 +clap-2.28.0 +env_logger-0.4.3 +kernel32-sys-0.2.2 +lazy_static-0.2.11 +libc-0.2.42 +log-0.3.8 +memchr-2.0.1 +nix-0.11.0 +redox_syscall-0.1.32 +redox_termios-0.1.1 +regex-0.2.3 +regex-syntax-0.4.1 +shlex-0.1.1 +strsim-0.6.0 +termion-1.5.1 +textwrap-0.9.0 +thread_local-0.3.4 +time-0.1.38 +unicode-width-0.1.4 +unreachable-1.0.0 +utf8-ranges-1.0.0 +vec_map-0.8.0 +void-1.0.2 +winapi-0.2.8 +winapi-build-0.1.1 +" + +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() { + cargo_src_install --path=. + dodoc CHANGELOG.md README.md + + 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} +} |