diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-29 03:21:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-29 03:21:54 +0100 |
commit | 62ea91b40c7650011a72ed2443f76b88b06123fe (patch) | |
tree | 1e60e1f2ac4a793b10db166d55ffadb46eeda0ff /app-shells/fzf | |
parent | bd7d7f7f69423122e08209eefb1a8fa1d363e35e (diff) |
gentoo auto-resync : 29:09:2022 - 03:21:54
Diffstat (limited to 'app-shells/fzf')
-rw-r--r-- | app-shells/fzf/Manifest | 3 | ||||
-rw-r--r-- | app-shells/fzf/fzf-0.34.0.ebuild | 72 |
2 files changed, 75 insertions, 0 deletions
diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest index 0a7d46766d7b..ec15c2a01c1e 100644 --- a/app-shells/fzf/Manifest +++ b/app-shells/fzf/Manifest @@ -6,8 +6,11 @@ DIST fzf-0.32.1-deps.tar.xz 16042284 BLAKE2B 9ca05904cfa0790372e1879a77946e337df DIST fzf-0.32.1.tar.gz 212217 BLAKE2B b1b80bd5ed69dafdca3d52ff1630be99e1384119818bacb31fc04e0cfe58cfd99a4ebb9bd9b8a29e885e7e3db8aa8ba5046107d41a5222c6c05c5d194c42d394 SHA512 8abf7eceec466a3bb0cca48e36a426b4fbf5a4cb07f09756b92705fba11dc432d59102cf0337c8f0bae2782747a45cb7040d2f0de5a2050bb80fd5a6e09f0439 DIST fzf-0.33.0-deps.tar.xz 16062376 BLAKE2B 94d50bf681c7e641ac134978c960b6ceb930ae88119014e2a8b17d7bef115b943c2d89a87a37a4dab446a6d11cc81583900ace31178dfac77d3540d771bfb4f8 SHA512 905eb6ab6ff975824da51261cdf66ee3e69c0be4bef04a2f04ea58433778127c0b3433d12bbba83f220b2d33c00cc5ac313cb05565c644961993b4aac2a1be39 DIST fzf-0.33.0.tar.gz 212698 BLAKE2B ee446b7f451d761abc3b1e6abcae8f9a65232086fe0c0ef479fd898f427ca79f2c125bab2d616965b525b7e355f0b6ea1a65e9ff522230687f1fb119163e5958 SHA512 1359be952b0447da453a772546c1960c01396d37fd84392ad52f6ab9f8793ed282085ffa087cccb176183a923b0f89747d053b7af5b899169083b7a7c7a3ef69 +DIST fzf-0.34.0-deps.tar.xz 16800704 BLAKE2B b518f7bff1ea533af32efcb0e5307580aa921bbc20383bbdb6601c0b2dd50e66a57609c99adb9f71d1d388d08cae22521fea67797036d5dab34c83c45dd719fb SHA512 e5f6db58b43e6e3cb9b38f5fb13ab39b7caa18828516d13b0c4623f11a8553a905d076ef9685abfd9c7b602715d677dae9897359148b5d289b05ad056c60d321 +DIST fzf-0.34.0.tar.gz 214641 BLAKE2B ccb7f57df4305cf07dc8e0ba7384c3a446ddce083727ad98719a327150d853782bf781b0179d02f3f10664ffce501ebab55ccd2d5f61a2e690fa41f1d0f479c1 SHA512 6e2bd9a7c30862c09f627c73504f2a52951476abbd9af64941445862cc9bf783699cc9ccf215e25c49bbb3f9656841581b5805af4658b681b590ca14b5697331 EBUILD fzf-0.30.0.ebuild 1757 BLAKE2B 009b962eccb17af6b8533d2c411030f050235e159988946ae775d3d1da7aab96360afc8ae9771e5ad4f0d0d3f605b2629b1be6eece989afa2f0fec5adfcf107e SHA512 be9f419f071a169b3754b34152da426bdd6f4213221d7d886b5a964e672fce0e12209b48d06c4f26d84696b56c418f41723c2a7462d4faff67eec9b96fa0a0aa EBUILD fzf-0.31.0.ebuild 1975 BLAKE2B 6b6e8a022a9e3c8ebe89d79b8af14ee738cb521f2bd8b31489dfd9f1f81295fefe76bc681287c96b665694f37e9e7bf3911034749e7746c963ce3c6ba3ea438a SHA512 0778f5a555dbcf764230a78fc54277a3442f9d0fd41086e23e83f428b43dd5e53903d84c118548fffdaf07110d6c450a974031582cbbbf41682dd034ab3142f6 EBUILD fzf-0.32.1.ebuild 1983 BLAKE2B 5d3555ed53c86ebbf5acbe69a54515fbe26673f7d4ba915e7675d9f6f71d7a5fb21473d7a9474d27de052b31b69b6c5dd49b2a162c0bc15639040acd088464d7 SHA512 912838d60b39bdc341410d9fd97608424d31a8b9c60529430d16d65ffcc8e51b08b6534a3bba2660f90bdc8610c20819354fabd2e169819b3220f629d2ad3616 EBUILD fzf-0.33.0-r1.ebuild 1983 BLAKE2B eb160a5f6b476ddfc36cd1972c3c73e2bd6fead9af903de10da9ea64136cf9e0640bc183b36a4cf9ed7842bad71aca609a9f3124f9c04ff9378776b09d000acf SHA512 ab180ab60848094ea9dd0925bdeb10f8b70f6d6622aa58fc8591bca5dbda41882ffc6b2ae393596cb3505efd93959b26417bd6bdb338fbbc5f12371eab6eb619 +EBUILD fzf-0.34.0.ebuild 1983 BLAKE2B b0dfbf8b8cf491e32f848cf765dea917cc8d24b77b8ef8a6722cb97095924c267c6cd25dd89914b9c571a724ec171f0c7a6e2ae7abe23efc652daaf6c5646010 SHA512 47196079455cd30f8199f2e77c1800a3eed44eddebba8286a3dfb1f604efed3c4dabe543c0d65934bf6f0cec5bfd04f4cb5fa9610edff09f858322fdf7444e58 MISC metadata.xml 469 BLAKE2B 3d6dcce756d040b715bbf17f33faea2c0ddd810857cb38289f59cab134a5b049d21db71c9c3844497643e1728ecd09a924a51ba273f736712543307f2b806d1a SHA512 21f3fef809b276da7f7ad33dbafefc2ebfa86b9ce9aa0dea664724c399a6743923a8a1825cffbd06d885181dc7b305d351e7ab77bd133abb98f601a84783f52f diff --git a/app-shells/fzf/fzf-0.34.0.ebuild b/app-shells/fzf/fzf-0.34.0.ebuild new file mode 100644 index 000000000000..dfb1e1fbede0 --- /dev/null +++ b/app-shells/fzf/fzf-0.34.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 go-module + +DESCRIPTION="General-purpose command-line fuzzy finder, written in Golang" +HOMEPAGE="https://github.com/junegunn/fzf" + +# For fancy versioning only. Bump on the next release! +# MY_GIT_REV is the first 7 characters of release commit, we truncate it +# after to make it easier to copy/paste. +MY_GIT_REV=04d0b0223fd69984a07a641d0e228c0e9e534825 +MY_GIT_REV=${MY_GIT_REV:0:7} + +SRC_URI="https://github.com/junegunn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" + +LICENSE="MIT BSD-with-disclosure" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +src_prepare() { + default + sed -i 's/-s -w //' Makefile || die # bug 795225 +} + +src_compile() { + emake PREFIX="${EPREFIX}"/usr VERSION=${PV} REVISION=${MY_GIT_REV} bin/${PN} +} + +src_install() { + dobin bin/${PN} + doman man/man1/${PN}.1 + + dobin bin/${PN}-tmux + doman man/man1/${PN}-tmux.1 + + insinto /usr/share/vim/vimfiles/plugin + doins plugin/${PN}.vim + + insinto /usr/share/nvim/runtime/plugin + doins plugin/${PN}.vim + + newbashcomp shell/completion.bash ${PN} + + insinto /usr/share/zsh/site-functions + newins shell/completion.zsh _${PN} + + insinto /usr/share/fzf + doins shell/key-bindings.bash + doins shell/key-bindings.fish + doins shell/key-bindings.zsh +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "To add fzf support to your shell, make sure to use the right file" + elog "from ${EROOT}/usr/share/fzf." + elog + elog "For bash, add the following line to ~/.bashrc:" + elog + elog " # source ${EROOT}/usr/share/bash-completion/completions/fzf" + elog " # source ${EROOT}/usr/share/fzf/key-bindings.bash" + elog + elog "Plugins for Vim and Neovim are installed to respective directories" + elog "and will work out of the box." + elog + elog "For fzf support in tmux see fzf-tmux(1)." + fi +} |