From ee014cc0580ef454ccaf7784c8efa8986ddf128c Mon Sep 17 00:00:00 2001 From: Daniele Rondina Date: Sat, 30 Aug 2025 09:54:53 +0000 Subject: [PATCH] Bump app-shells/fzf-0.65.1 --- app-shells/fzf/Manifest | 2 + app-shells/fzf/fzf-0.65.1.ebuild | 65 ++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 app-shells/fzf/fzf-0.65.1.ebuild diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest index 7847c31ee..d2c9366ac 100644 --- a/app-shells/fzf/Manifest +++ b/app-shells/fzf/Manifest @@ -1,2 +1,4 @@ DIST fzf-0.61.3-1a1a713.tar.gz 332170 BLAKE2B e76cb8d0e9dcb08db84e2c92210585f291338dbb8f9f4edfb15ee592f946f9d14131d461b321aa16a47764cfe70de21112de4ae675c5f99cd3eb2de94263df62 SHA512 8af611df38cc03559b34652c61e5d16cc1fa32bc7939ab1c2bf5d6729e322a68c0a659e1554862780e70a70b94580d5c31b51c8310c884e1d4ed938c4ab5551d DIST fzf-0.61.3-funtoo-go-bundle-ecfa6c52b854eebab9fd73b6799867f589d38b8ed31ee8741a98ea7ac07580e0c941de8d6e322d3b4c345dcd3381a46357e96bf95d1fbaa18a29f4f3a5c490c5.tar.gz 12221822 BLAKE2B 148650ce5e70116437b6683a2fd257b56e13f7f0e48127841b247e1f1a2901d9525cf8cf979a8c2aa3e8a3cf158ecbf32e3ed2b87e6aef5c14324fba8b5961cd SHA512 20d3ca2dbd3885bb4e940e0aa8b5d70293b714c2be01abe57dfd9a81e0a636e96e7693fd82fe755a0bda8ecabf03cfb3d86957e6c209874289b70f2b0c171021 +DIST fzf-0.65.1-e5cd7f0.tar.gz 347727 BLAKE2B 49387998b40b4d41bfe9bbbeb834e857031a11a406f18bd05f4eaeb3c43efc999cea0be6f07ad725db0b97aab5c615850c6a16dfc6486a46aaff7bec3929d1a9 SHA512 92e5ffa3d1404a128aefb56a1b860524aaf4d233db2a6f2f9a008b0d24493b0acf484c038605adbb1389411663a401dfe55b538a13aa73de1abdb6f60db52e4e +DIST fzf-0.65.1-mark-go-bundle-e5cd7f0.tar.xz 12078964 BLAKE2B 3974a494ab9d60ea8e88de231a098eff923cda5bdf65789733160bf9434476cb1a5d6d6b94b94b51df0da73165e7208d923cd48afa0d5651bbef9986d53f3a18 SHA512 1ae2be595a3902b0e1b87f153fdc24d266782936a01d11670eb63f8fe0ce7e0b216a607677436f3ef2ce4a33ed382ddfe2a7de2194678c1812703ea4e7490251 diff --git a/app-shells/fzf/fzf-0.65.1.ebuild b/app-shells/fzf/fzf-0.65.1.ebuild new file mode 100644 index 000000000..69ec119ad --- /dev/null +++ b/app-shells/fzf/fzf-0.65.1.ebuild @@ -0,0 +1,65 @@ +# Distributed under the terms of the GNU General Public License v2 +# Autogen by MARK Devkit + +EAPI=7 +inherit bash-completion-r1 go-module + +DESCRIPTION="A command-line fuzzy finder" +HOMEPAGE="https://junegunn.github.io/fzf/" +SRC_URI=" +https://api.github.com/repos/junegunn/fzf/tarball/v0.65.1 -> fzf-0.65.1-e5cd7f0.tar.gz +mirror://macaroni/fzf-0.65.1-mark-go-bundle-e5cd7f0.tar.xz -> fzf-0.65.1-mark-go-bundle-e5cd7f0.tar.xz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="*" +BDEPEND="dev-lang/go +" + +post_src_unpack() { + mv junegunn-fzf-* ${S} +} + + +src_compile() { + emake PREFIX=${EPREFIX}/usr FZF_VERSION=${PV} FZF_REVISION=tarball bin/fzf +} +src_install() { + dobin bin/fzf + doman man/man1/fzf.1 + dobin bin/fzf-tmux + doman man/man1/fzf-tmux.1 + insinto /usr/share/vim/vimfiles/plugin + doins plugin/fzf.vim + insinto /usr/share/nvim/runtime/plugin + doins plugin/fzf.vim + newbashcomp shell/completion.bash fzf || die + insinto /usr/share/zsh/site-functions + newins shell/completion.zsh _fzf + 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 /usr/share/fzf." + elog + elog "For bash, add the following line to ~/.bashrc:" + elog + elog " # source /usr/share/fzf/key-bindings.bash" + elog + elog "Or create a symlink:" + elog + elog " # ln -s /usr/share/fzf/key-bindings.bash /etc/bash/bashrc.d/fzf.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 +} + + + +# vim: filetype=ebuild