commit:     68084528d9c1ad4f02936ea7e24da49ae10810e0
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  6 01:20:27 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Aug  6 01:22:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68084528

app-shells/fzf: Version bump to 0.65.1

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

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

diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest
index e6173adef0c1..ef68265dfc82 100644
--- a/app-shells/fzf/Manifest
+++ b/app-shells/fzf/Manifest
@@ -6,3 +6,5 @@ DIST fzf-0.64.0-deps.tar.xz 5919740 BLAKE2B 
43bd235aef55b51f0176edd5f530ac9961d1
 DIST fzf-0.64.0.tar.gz 346041 BLAKE2B 
792d0dfd83c2c94ba05f344bf76042a11e817b44eb1e32873f4f469b953ed95dbebd55c23c5311f90547d496a666943204f2808229b15539d9c51789272cad09
 SHA512 
69320e8b41e02f8adb4993c514edc9029c718da7bfce2240c93f98166179b922441cb078bcf5c06352754fa98e36b6f4371ff66ad6410b9024f9c3b875abac58
 DIST fzf-0.65.0-deps.tar.xz 5917856 BLAKE2B 
dfa8cd152dd2a1b01491fe3c600059270db8e21ed97fa24e3d983634de3e51f0110200044f15ad5f01abf2c20444be4924027984f5e72ee39a8e599abd86b900
 SHA512 
644d5324186b8779feb298cca1fd57a840021c7ae3bd36e544922a286fae3ac433579a147ebd5f2ca4bee92e5a1b280373c04640f93ab683c5e352bbd0704420
 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

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 000000000000..2cdf5fd0128a
--- /dev/null
+++ b/app-shells/fzf/fzf-0.65.1.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=e5cd7f0a3a73ef598267c1e9f29b0fe9a80925ab
+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