commit:     f748d37ac38e70567388b5747a6f30d766ec5a13
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 28 17:16:27 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 28 17:17:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f748d37a

app-shells/fzf: Version bump to 0.65.0

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

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

diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest
index c9097545c458..e6173adef0c1 100644
--- a/app-shells/fzf/Manifest
+++ b/app-shells/fzf/Manifest
@@ -4,3 +4,5 @@ DIST fzf-0.63.0-deps.tar.xz 5918468 BLAKE2B 
7697e4fea67ee8c1e32805fc9da28d3469c2
 DIST fzf-0.63.0.tar.gz 344206 BLAKE2B 
c4190b4a69bb4008f1aa75fbeb226c700b0ae3b7286717a99bac6fd91d90b5974bc35211e66362b7403e174d07e8dd4e334f1ce44d7ee351c6e7a787cff060f5
 SHA512 
ce97d13eee78b963467df46cdf517f60a242e0e6ce15045bebd4e22e864e7698cf7d3e70f1170420474d897714a036f70fe7566c4797bcb4f7ff47e79e4a7b2c
 DIST fzf-0.64.0-deps.tar.xz 5919740 BLAKE2B 
43bd235aef55b51f0176edd5f530ac9961d1e52f920ce5042a74c926af01561b4921f43f28cfbb62dce95698252c37bb5da883ae608ea7d93badbb067be3250a
 SHA512 
442126580af3f5d843afdc05e694de29ed3bf083f8c37dba7540427bbb8814f0008c0941d305ad79d6dfa8673fa13d5cc9baf1a1026cba951210cc93470532aa
 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

diff --git a/app-shells/fzf/fzf-0.65.0.ebuild b/app-shells/fzf/fzf-0.65.0.ebuild
new file mode 100644
index 000000000000..8d43dbcd484a
--- /dev/null
+++ b/app-shells/fzf/fzf-0.65.0.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=04c4269db3f8058d2afc301dfba49d497249eb5c
+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