commit:     6a0f50cedbf709f66d107786ecb944b656c4cfc2
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  7 20:53:57 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Sep  7 20:58:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a0f50ce

app-shells/fzf: Version bump to 0.65.2

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-shells/fzf/Manifest          |  2 ++
 app-shells/fzf/fzf-0.65.2.ebuild | 71 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest
index ef68265dfc82..d80301d51732 100644
--- a/app-shells/fzf/Manifest
+++ b/app-shells/fzf/Manifest
@@ -8,3 +8,5 @@ DIST fzf-0.65.0-deps.tar.xz 5917856 BLAKE2B 
dfa8cd152dd2a1b01491fe3c600059270db8
 DIST fzf-0.65.0.tar.gz 347323 BLAKE2B 
f733d30a1a1cc132521e8ea7f44b4e886ef5489827717c486772c96d2169cd6844f540776d0ee52dd1507a400875f7ea8eb41d82983816c310372bbd30bd4a37
 SHA512 
a9c01a783ff45e5c02dde61746190d6d3e53492be1d37061d645894e127e98ed25138f785a57e75ea1bc403727e1f5b4c114670e4f8eb958de42b228f93c464c
 DIST fzf-0.65.1-deps.tar.xz 5920392 BLAKE2B 
e2286a075bb5d40ec2808c7a2bc5331e4fd13806f705b033c2fe6e091ae8110a1711857e318bca0c9eea7578386917e123f9ecead33aa41b46ac281e1cf6e241
 SHA512 
58da6a589a9384b22d0713a8e2ecc665dbe5ba15129893f06ff7eb7beeb92685fb1ae55d45619b6f1c6f0769242c8a84adee7382e9a0fa97ebd0bae220caf999
 DIST fzf-0.65.1.tar.gz 347658 BLAKE2B 
fbae5fb2a49041d2ec8fbafaf49015d532e4c1dc50254933b2992ad1244d64ad01d2b7d483b13a5b305aa5e6a4b94f9ed0710be64f35ae53a38c6bfcc899ede9
 SHA512 
30e1a18c952a624a3b91ec66c492c6976b30b2a8c89f595fa091d26aaf066d83b61e788239c5919b3a863c51f45d0578b6a9f45ccaf0aa32ef97fe468ab0373e
+DIST fzf-0.65.2-deps.tar.xz 5911688 BLAKE2B 
53dd8e6321188d565778eeb7e46a15cf147f183e31769d8158e4520d6dc2ba8a385c674d959adf5c0292a411ecf57fee68dd436370a7ff12ccc435a6c0766d3d
 SHA512 
8788cea3f9fde02ef148bb08519535af5226d8fb6f9b81f73f22f545867092653694101c402aa08d33170e30e05eefcc0e62b530b7d306f10607aae945567d60
+DIST fzf-0.65.2.tar.gz 347841 BLAKE2B 
4e148f15d48571ea27b9723797682828b8c8b2c341ed09c4d82c6ba378f5d9d2e215198afab6e93180e12a818241e88053a368a4007a18972ba3049ce00a0b90
 SHA512 
5d8a872ad041946f30a000361ae26dbfe66050bfba38462b816ffee54d63dfe1d99103e326193511204268dbc165ccb2efd7c5be1debbec82b5ba70e8d05365d

diff --git a/app-shells/fzf/fzf-0.65.2.ebuild b/app-shells/fzf/fzf-0.65.2.ebuild
new file mode 100644
index 000000000000..0a13dfa23925
--- /dev/null
+++ b/app-shells/fzf/fzf-0.65.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2019-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module shell-completion
+
+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=416aff86e9d550d0a34af9d3cc12dfede25354c3
+MY_GIT_REV=${MY_GIT_REV:0:7}
+
+SRC_URI="https://github.com/junegunn/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~mattst88/distfiles/${P}-deps.tar.xz";
+
+LICENSE="MIT BSD-with-disclosure"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~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}
+
+       newzshcomp 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
+}

Reply via email to