commit:     25d465c738127e6446a396ee0af5b4f3f3be623e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 24 16:59:35 2026 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 24 17:03:15 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25d465c7

app-shells/fzf: add 0.68.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-shells/fzf/Manifest          |  2 ++
 app-shells/fzf/fzf-0.68.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest
index 0b9c7941142c..acf20131365b 100644
--- a/app-shells/fzf/Manifest
+++ b/app-shells/fzf/Manifest
@@ -1,2 +1,4 @@
 DIST fzf-0.67.0-vendor.tar.xz 1180216 BLAKE2B 
127f53a105ada6853ddd397933c4a33e5e3f6ce02a04542934f020ffe37b8954d9b7248c2b37b68741122fb56fb87e31d416f42d05c34c47795b66ec06f0e501
 SHA512 
75358a76be08527973a403598b7c631ba97537b6d2d37ae9c7790ccdef73496c83cecb150b5322281299ee367ac70e8af4ae51293097983694a4cd8763d762b9
 DIST fzf-0.67.0.tar.gz 363116 BLAKE2B 
71eec56917aa9962d3ef3ecbde77045ea5afe6b9b4d96640e3699d9b9ddc42c0ea1cb750bd20a5661d899b40218ffa5a4fceb17e9eee4f884c78790bf94f8bc2
 SHA512 
548879bb9a70b8e138277715a7cd3334c4313c93d1d35315e69618ccc2ea5e5bd955369261bf566ce3282f2ea5de752b5346fbfadb5b77ad5508b40fb603d926
+DIST fzf-0.68.0-vendor.tar.xz 1180828 BLAKE2B 
cc59e01a9b2fff2f5a7ac5ef6d937de057aaef7d02351d1aad9c8772ddb1f6dcce3c881cbeecbcabf7afad4a2064ae71717ec1cc8079cca83ce31c4a4f6af077
 SHA512 
aae4b97b253a6671c092187cb5b209b85be5bb83fed6c199463b6f9f762c0d4defa8e71e5ac24883e3da67d961bcf7955b99d179260b3eec6c2930ef0015f8ce
+DIST fzf-0.68.0.tar.gz 380120 BLAKE2B 
90c2afbdac76889ab4952f44a55e0fa5452ddefa751ea834f390f03e265baae23795bf501673bcbad9ec14b9a16e65ccaac9b1bf0dff31ae880fb5caaea94943
 SHA512 
d67b002937dabb3384c1e949bb99f6616feb570d9616d60d1cd5bdbcbcd8b47df5c132791d8b7ecba609c022f2a45709a7a8e73c18bc9d77d99a0893c0ecbd0d

diff --git a/app-shells/fzf/fzf-0.68.0.ebuild b/app-shells/fzf/fzf-0.68.0.ebuild
new file mode 100644
index 000000000000..cb1f5138bb1e
--- /dev/null
+++ b/app-shells/fzf/fzf-0.68.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2019-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module readme.gentoo-r1 shell-completion
+
+DESCRIPTION="General-purpose command-line fuzzy finder, written in Golang"
+HOMEPAGE="https://github.com/junegunn/fzf";
+
+MY_GIT_REV=2ab923f3ae04d5e915e5ff4a9cd3bd515bfd1ea5
+
+SRC_URI="https://github.com/junegunn/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" 
https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz";
+
+LICENSE="MIT BSD-with-disclosure"
+# Dependent licenses
+LICENSE+=" BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+src_compile() {
+       local go_ldflags=(
+               -X main.version=${PV}
+               -X main.revision=${MY_GIT_REV:0:7}
+       )
+       ego build -trimpath -ldflags "${go_ldflags[*]}" -o bin/${PN} .
+}
+
+src_test() {
+       ego test -v github.com/junegunn/fzf/src{,/algo,/tui,/util}
+}
+
+src_install() {
+       dobin bin/${PN}
+       doman man/man1/${PN}.1
+
+       dobin bin/${PN}-tmux
+       doman man/man1/${PN}-tmux.1
+
+       newbashcomp shell/completion.bash ${PN}
+       newzshcomp shell/completion.zsh _${PN}
+
+       insinto /usr/share/vim/vimfiles/plugin
+       doins plugin/${PN}.vim
+
+       insinto /usr/share/nvim/runtime/plugin
+       doins plugin/${PN}.vim
+
+       insinto /usr/share/fzf
+       doins shell/key-bindings.bash
+       doins shell/key-bindings.fish
+       doins shell/key-bindings.zsh
+
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       readme.gentoo_print_elog
+}

Reply via email to