diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-16 00:01:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-16 00:01:30 +0100 |
commit | 66113e7871aede225d661473925cea4cce9e6d23 (patch) | |
tree | 5bca10c8eeb5527fc3625567fc296a60dd9695cd /app-shells/fzf | |
parent | 514c44bb9cc421df9c323acbad430cbb6ee5b89a (diff) |
gentoo auto-resync : 16:05:2024 - 00:01:30
Diffstat (limited to 'app-shells/fzf')
-rw-r--r-- | app-shells/fzf/Manifest | 3 | ||||
-rw-r--r-- | app-shells/fzf/fzf-0.52.1.ebuild | 72 |
2 files changed, 75 insertions, 0 deletions
diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest index 1defff779f94..4878730ceb3e 100644 --- a/app-shells/fzf/Manifest +++ b/app-shells/fzf/Manifest @@ -6,8 +6,11 @@ DIST fzf-0.49.0-deps.tar.xz 17668152 BLAKE2B 3f5c16b10c7605dec7b775df6c5d4e7dca1 DIST fzf-0.49.0.tar.gz 264849 BLAKE2B 24a51f49384e2c45746181156de20fdb3c8e31c9b1e9bdc9866ba92f654d66b62e3a29afdce794bb23bba441591ab79737ef05716b34a13a76cce66bf24de02b SHA512 fe9d380e1fba460a45ce70a3b44681454833243881a133108f9087a204b1adaafae7bc13e083d25bc783eedb7d4998d5f2301c87f981c0368d081f7f60107fe8 DIST fzf-0.51.0-deps.tar.xz 17657716 BLAKE2B edca4dfdd2030bc3dd1564c3eef81d50d219b7c24da195e3cfce7bb079d7ee2676964fbae60f6ec04f46e5bcfc880c524b97c043cc6cfcd2e8e76b967939bb11 SHA512 155a4695c6acf9cff416752c4ed8f6cd3ff00d1ae48e988cd95eb58fd4cb93cc4db2cdb9464d2fa26277fc9fd26584d398f4bd9681e6aee9e68c3039709c0fbe DIST fzf-0.51.0.tar.gz 273767 BLAKE2B 96a481ef3e71a201fc94ef554f7aaae80ad62b2961a2403fa1a3c5883d79d9bec61c58c71a205c2d63b78742af23e16a82da91da800482bb8d9c85f6a3b3d149 SHA512 deb9c434764571eeab466898e1c782ff2fdeedc112f449c6d03e42f1b6fd3f8ee3c83252190f099ab030768920148144fb9c73840c6e36d43dad42b004045e65 +DIST fzf-0.52.1-deps.tar.xz 18022516 BLAKE2B d6b5b5075409e7078958735ccc92b34dbed564a7e71019304d30b172bd44ace4a410a07d5ca259626ab5419ba9167b61b48ad94cf00a207ed5e512cb64e2ca7f SHA512 f0677af64ededb668f429c5e8547b22f37646c0a37ca17ec94ca92cf3a18199ddfb341df0626edcfcc27718d42903f2676559b53ae283ba57504fb83f116b05f +DIST fzf-0.52.1.tar.gz 274817 BLAKE2B a42e694ab3a34025ecee5343e8eeb43221f66989fe6c7b827ad36d60a980c8fcea8414fffbed6858c7eec4d0e54ccc2165eafc5aecd8292d91e05da04bda1f6f SHA512 90b70c0fff41605ca647b02b64a6906e113e6cc377a51db8771806da58463ab87512294b430243b0263a3e800d64e652b6b2580b0b8205890f235d3b64c5e763 EBUILD fzf-0.44.0.ebuild 1986 BLAKE2B a97f083282876db302853924853c039251b985b411adce49150d0645fe96a98929698a49f55cde9c6c06162fea2871e0ec4f201ba403e905f83248aca3af8269 SHA512 4729e93d18e5cb76e3967b2e67951b501e3f7dbc0da0feecdc81213571ef0b61641f61db38680ec8a9dc343a2f250c05fe65a68fabf4b322fe99b31cb0af2b46 EBUILD fzf-0.46.1.ebuild 1989 BLAKE2B 088c3ee7b46a27c1c4a9f4b4e4dce000280a3bc8ef77731ec4d124cc884307135b1245db1bac7aa4a3a4a28c292e3a1cd5053cbd6ee03e9a3cf437cd6f2e6080 SHA512 1505e54b096effe498b1574979c9398100d0ac15f7b20a747a445819de2e014b7b10f878b5b41a5bf7fd04716f63084c1a9b220c5e53ebbbeace2aafa29b4a9c EBUILD fzf-0.49.0.ebuild 1976 BLAKE2B ba93dab453075a3d08ce3ce11d7cec3ac3377305a7ff7de1165b359db9d03114aa227d05a012c464ecfad7876bebb404e79e3d1007dd92e827ba2517f2f966e4 SHA512 e39e8cccbec100da4bebc38d9312ce0201af9244bd6cd745623133dc2ae714896db0f183233392ca35ddac497958c34fa1ddd80bf1593fc2d74d9ba9a493537a EBUILD fzf-0.51.0.ebuild 1976 BLAKE2B ba93dab453075a3d08ce3ce11d7cec3ac3377305a7ff7de1165b359db9d03114aa227d05a012c464ecfad7876bebb404e79e3d1007dd92e827ba2517f2f966e4 SHA512 e39e8cccbec100da4bebc38d9312ce0201af9244bd6cd745623133dc2ae714896db0f183233392ca35ddac497958c34fa1ddd80bf1593fc2d74d9ba9a493537a +EBUILD fzf-0.52.1.ebuild 1976 BLAKE2B ba93dab453075a3d08ce3ce11d7cec3ac3377305a7ff7de1165b359db9d03114aa227d05a012c464ecfad7876bebb404e79e3d1007dd92e827ba2517f2f966e4 SHA512 e39e8cccbec100da4bebc38d9312ce0201af9244bd6cd745623133dc2ae714896db0f183233392ca35ddac497958c34fa1ddd80bf1593fc2d74d9ba9a493537a MISC metadata.xml 245 BLAKE2B 09740ccf075e53d0d7f0a31addb391335518828e2c889718899491764305e6fef814d1ff7f1228d4b3c2b3b18470873d3c71338154a833d3a7d13280c393a879 SHA512 4de0cd558c25997c8473254016ddf6371da40c183b7ff0d7ad873135e12f52f8de12c40dc6ee03aa1fc2e44898fa050c9730e76f7960d908a5fa6645a66a7679 diff --git a/app-shells/fzf/fzf-0.52.1.ebuild b/app-shells/fzf/fzf-0.52.1.ebuild new file mode 100644 index 000000000000..29107a6ca464 --- /dev/null +++ b/app-shells/fzf/fzf-0.52.1.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=62963dcefd6d74510ae2692cd0955177bae57543 +MY_GIT_REV=${MY_GIT_REV:0:7} + +SRC_URI="https://github.com/junegunn/${PN}/archive/${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 +} |