diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-04 03:03:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-04 03:03:54 +0000 |
commit | 3cc82055be7dba177f4aea15af9f5414b532da7e (patch) | |
tree | 1eed8bbe7a93b3a0a7d6091ead40e81519978a38 /app-shells/fzf | |
parent | 212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (diff) |
gentoo auto-resync : 04:11:2024 - 03:03:54
Diffstat (limited to 'app-shells/fzf')
-rw-r--r-- | app-shells/fzf/Manifest | 3 | ||||
-rw-r--r-- | app-shells/fzf/fzf-0.56.0.ebuild | 72 |
2 files changed, 75 insertions, 0 deletions
diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest index 604aded83718..3e3a98629dd2 100644 --- a/app-shells/fzf/Manifest +++ b/app-shells/fzf/Manifest @@ -2,6 +2,9 @@ DIST fzf-0.54.3-deps.tar.xz 5875812 BLAKE2B 19e27c17c86ae5df2a84bfde2a7df912a3e1 DIST fzf-0.54.3.tar.gz 292944 BLAKE2B 4a2e7a6cc50504215fa14ef6559df8b14fa0d89a499ca06f25b170cd2456d22cc30260de80821db9525ba4d6ece24ab39d863f23004f680bd3cf1d2a6985ec25 SHA512 e93056c3030e4a9dca59066fe111ef7539040a2e5bb800030d8f3e032acfae7db5fd2cf32aa7a45b505ec180e95c05bebe801bfc60c65db15fe9b647959ea987 DIST fzf-0.55.0-deps.tar.xz 5891700 BLAKE2B 63de6f3817796eef8c6e69c7bdf66e2f379be1e438558245cedb4dfa6ab16ad6dc74fb901481359bd099533b48f4f4670a83588d7befe4812085b7c6bb2faf58 SHA512 2c3f0affe988e8dabb743425b707ec082f59d185abad7f9d82043d922890060151b06c89056c201df7a328d67edcd54ed91ca1c62d1dd4648ee72977186ffeb4 DIST fzf-0.55.0.tar.gz 295984 BLAKE2B 304eb1c3ce682827d99ed699f2432eccb9cfe2025e331a291a43068000e9423913642a41cf124dbedf494adafd85a2ddcd5311f16f1a41b98550a0befd209f03 SHA512 b931b24b9398d189e83caf69fc7bdabbd906be6caed9d84dfe8ce0ec4ac980a78a89b7af988105996c6f217604d00f73efbf7be89b2c871e8b1f57b5e6bb72bb +DIST fzf-0.56.0-deps.tar.xz 5883628 BLAKE2B c7d015a84fbd528fe1800dba11e9594c47185e998f227cbe4588e8348b2aa6f882898bfe6da0d9f459a0aafed61707afed36bb8d833150131fed9698cd97a4a3 SHA512 2ffa5bc8b2fd6c9aecb8f3c31e38316736e647f7364d81f9469877657ef94bf7083ab71c3835eeadf221a873ca98059bcbc35fcc65e967646477058fc429db43 +DIST fzf-0.56.0.tar.gz 299021 BLAKE2B 67aa9b2a8b13e453c0d3a4e9fcfd2ed4e2ebea65bedaa44626ff328fd1dc32f824e08f4665156959da244ed2ea38ca03d5bf31549c6fb509398db9bf79a9ed0d SHA512 c1d6bd686717695714771ce73979c5d2069b8991e99d73e2e5ec2c87fc1805e2d2f536d50e0ee2846d8ec372bcf189e17cbaf7a45a89cc201294c74c53b4f54c EBUILD fzf-0.54.3.ebuild 1974 BLAKE2B efe8be83b0e904661b1737785f363893c938271cf3e60ddd66ef0dc850ef64a3206333d03db0dd041464634b1b14d8df17b9892aee5607ae5affd1572d99618d SHA512 9b032bb342e6bb069de8c4214d65534d15de4557b6f3a7cace048ede1f1be586ccb16a62d2dc97ce9bd96686f64b0076e230c9749bd94790d1c8ef897cf86d75 EBUILD fzf-0.55.0.ebuild 1977 BLAKE2B 1e8981936ea1069c396ccf686467550f61fedd0bd1816644c8d965822eff02df8a7b44d9f93d77b6c08f6a62d321aae3450e257c84d2174912db30f172e49f8f SHA512 a0dfcfd7e47edc8e25cc31a84403304d6b49f5e78a0cc3b11873c9d34f722e7cc5d34977a027eab34513423bdf2d8033663e863612ddfd49b0a87c07293b85be +EBUILD fzf-0.56.0.ebuild 1977 BLAKE2B 1e8981936ea1069c396ccf686467550f61fedd0bd1816644c8d965822eff02df8a7b44d9f93d77b6c08f6a62d321aae3450e257c84d2174912db30f172e49f8f SHA512 a0dfcfd7e47edc8e25cc31a84403304d6b49f5e78a0cc3b11873c9d34f722e7cc5d34977a027eab34513423bdf2d8033663e863612ddfd49b0a87c07293b85be MISC metadata.xml 245 BLAKE2B 09740ccf075e53d0d7f0a31addb391335518828e2c889718899491764305e6fef814d1ff7f1228d4b3c2b3b18470873d3c71338154a833d3a7d13280c393a879 SHA512 4de0cd558c25997c8473254016ddf6371da40c183b7ff0d7ad873135e12f52f8de12c40dc6ee03aa1fc2e44898fa050c9730e76f7960d908a5fa6645a66a7679 diff --git a/app-shells/fzf/fzf-0.56.0.ebuild b/app-shells/fzf/fzf-0.56.0.ebuild new file mode 100644 index 000000000000..380854366f61 --- /dev/null +++ b/app-shells/fzf/fzf-0.56.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 go-module + +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=9e92b6f11e0f59272de410f56493893334071e6e +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} + + insinto /usr/share/zsh/site-functions + newins 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 +} |