app-shells/fzf: add 0.73.1

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2026-05-29 08:08:58 +03:00
parent ba4d3ea64a
commit 25f52749af
2 changed files with 62 additions and 0 deletions

View File

@@ -8,3 +8,5 @@ DIST fzf-0.71.0-vendor.tar.xz 1179876 BLAKE2B f803a177b72705c5d905486790896e3ba7
DIST fzf-0.71.0.tar.gz 402657 BLAKE2B caed2b7f183a83eb3345e4acbd545679776980cef776294c479338061a24d5cb7ff5e1bf148ca3bba9289fbb6706c65297a279a3ed78082902d3919979afed71 SHA512 b9dd1af08b6cf09c22b8cf491316849cb5b4009acbc0513d48481e253145524d68fe6d4d7c88d024bd0ea01156a1234ad72293293388c4a122d20952dd0e9c39
DIST fzf-0.72.0-vendor.tar.xz 1178792 BLAKE2B 57950c9c982095c1f91f830c53bd0817ef34d92f795b1987c936fb1c908ae4d7f0398ac5b7aa4de99146f6c3b970ad01c3c4fc9fb7034306a386f656cc7d3d71 SHA512 c459dc7e6f46ad72a6fa59116e7d7d1e8c8aed1c0e1fd65ed097934f8e965fef119cd890d32d688bfc6dbf761022213e78c3562ae887b115c3f845d87a33d935
DIST fzf-0.72.0.tar.gz 412234 BLAKE2B a84fefed845b283f0a06641a3b1b6b2f16ecae9f8b41e40a21aeed863fa5debd257125c9bba6d0acd8be3b2c24d76fb3eb0ef0d655b8ef4701044d0969568227 SHA512 e1dbfd7c471e63c17ac46ae532201d5f740dc508e92a5cd4eb117cd6e13aff6f31e641402f99f78d11eeafd1f46fb0af2f9a607843cf9a4374facc65f0916af4
DIST fzf-0.73.1-vendor.tar.xz 1179956 BLAKE2B 5535446f2db978d208013000dc1e7883c5651b792828927debcdffdc2c887159d7c5ced27fbd7f0598f54a22226aef4f285d527c7cf0da93a3de77cfb469c2bd SHA512 21363e113d0c969e30c395fbc9aa152e7dc3215ea4bdafb5a94527f8ba56e40d46c91f0190caaf70646c97bc3c12987219aa97c27d274b8277d2c736613d2478
DIST fzf-0.73.1.tar.gz 432946 BLAKE2B f36addc7b16a53b9a20cf40985a876c1cce2bdd72a79d9657202d02103b644c3aee73df777eb064e8727819e88e8dc10a4d810f4b0c3ec8a16da4c0b953b89e5 SHA512 9c75dc1be8e78ae2ec92d70b5abbc58f10756dd202a369cc0198b0345dfa4d71fb1f516b584f89b1494f2737b42b43ba3f4d7ea7c0e3f0145c4ce022acbcc11a

View File

@@ -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
}