diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-13 04:25:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-13 04:25:35 +0000 |
commit | e0345ef79b0b4a444151748ce1f5364fc2dd147b (patch) | |
tree | fae82dcea0d46626d0859759f78cec980210eda9 /app-shells | |
parent | 9b799bc3e58ce4fb84738f6614e4250719c67b55 (diff) |
gentoo auto-resync : 13:11:2023 - 04:25:34
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/Manifest.gz | bin | 9616 -> 9617 bytes | |||
-rw-r--r-- | app-shells/fzf/Manifest | 3 | ||||
-rw-r--r-- | app-shells/fzf/fzf-0.44.0.ebuild | 72 |
3 files changed, 75 insertions, 0 deletions
diff --git a/app-shells/Manifest.gz b/app-shells/Manifest.gz Binary files differindex 044129c4dfdb..ba4640646ce3 100644 --- a/app-shells/Manifest.gz +++ b/app-shells/Manifest.gz diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest index 42350bd60f55..382e9269cde7 100644 --- a/app-shells/fzf/Manifest +++ b/app-shells/fzf/Manifest @@ -3,6 +3,9 @@ DIST fzf-0.42.0-deps.tar.xz 16860372 BLAKE2B e2ba9a7deca036587e0f4ff40eabb849f83 DIST fzf-0.42.0.tar.gz 239469 BLAKE2B cdeb40d08345edaecc20082e5c9d487791260ae18dc824e585f522fdcb004dc645a9a59f8d26c01ffaaffffcee6ea9b7030b5e3a79d22098b3fad55e7ff2f9e7 SHA512 9587b8c9d37abcf1ae85b12d5cf3a1179f57241e3932db6801dee9bb952f83621b780d713c1793ccb4c5c36921b9078e156fe989b3e13664201ed729ea03d414 DIST fzf-0.43.0-deps.tar.xz 16866976 BLAKE2B 98d0412e7035f244d14c33e76a11d788a302239e09b8172a80ceb4e4bd253fcb57d131d2e2b5fc1bbecac13c9f967923f540220e31ca5741ed85f624da05d4cb SHA512 e0e7504d9bf8e932bb27a0e52df98cd542e1c690f711958981e041926141ff5570dbad14824036e8bb2e4a07a385eefed6ee005beb101efcfa45af89ce7acbef DIST fzf-0.43.0.tar.gz 247080 BLAKE2B 63a0c446e93c753c7699e0575dfa0090d4f74d06e57e7d1c94f244638c21afd268c9da1b6a4b5dc85faa68e227f3c2c6755fa7af562d7f1ca5eec60e6e9141c1 SHA512 84e01d2f852e0d90b2a30342f7ad9a30e4e287688f6063efc2a0f602eab5ec064819efecd2041f46869bb1956b3d3eb50e98084deeaa26272c3bbafd000648f7 +DIST fzf-0.44.0-deps.tar.xz 16844060 BLAKE2B 33f85423868719cf86664a0fd7691c42c6ed94d0c5f83f9a296b430335cf142dd6d1f48b516bb9eceba98ca9e5ead9a99794279dcb79798c91e34db694b22c76 SHA512 e1824added348c7aa851c438384ebf2d585d44e634474144e5f444a41562b361574ecccff54c07ca046941ced8adec0596e52d540fe7d7ac786c85eccf683bfd +DIST fzf-0.44.0.tar.gz 250927 BLAKE2B 3689d8843a4b008abc7b77e7b0fe7b681891c5f397ac7460c26ea303e04e7bb7dcb03af4012cfea12dd8c771c012a656e8bc65684941d66ebbb6533796d09ec2 SHA512 62084284a2329250e87f107900ffaddf94043274b1d9ede1dacdeed2e8ef87722c80708addd7907c35035e742645f5168776e5f0295d5695e9512acdbb43936c EBUILD fzf-0.42.0-r1.ebuild 2049 BLAKE2B 3155efecc3fd0c671fd14afa9925e45b0a5d0cb958ca0fb45672a9a4a45e17bd3ba3babac8c911f324371437f3ca7d4bb8d33cd3cb2d7a969b6dbaa332db1b03 SHA512 1204ef113334ad3aaad7faaa4ea8e52c76c7a8693bc5c5a20f70a57aa5330a4100d407e0aae4ff522b390cad356a63e4f9285c44168a0fb8d4ad4e36953c38b7 EBUILD fzf-0.43.0.ebuild 1989 BLAKE2B 9939b1aa2c509b1f1dfd34b45716e21de38bc8de460906814c0fd40090d2170618553e1caed094de1edf231627812d9c496a51ce87737a08ba9067e5a4e42647 SHA512 35e1dacdb1fdd8e50529018859a308ec911c69cc43446866b7ad5d0862997d3d744c6e1156cef73b466d7ed742d392a197a32659aa1e53acfa75eaa382072f6c +EBUILD fzf-0.44.0.ebuild 1989 BLAKE2B 3eca26d11f03c3968440d40017360a51533b65b2662a78d3e806ee1c40403268bcd45ed4bbc2da0841db6183f0eb46875dd8546f51a0e99609562e361c5b7ead SHA512 53d5b6e62ef263d8f2e1099b09ecffc1b819e4b8e1b912230524e52b67fc69dab6047bf608dd600fe4effca631536de84b91ac4e97611144c72f3247e0e48bb1 MISC metadata.xml 469 BLAKE2B 3d6dcce756d040b715bbf17f33faea2c0ddd810857cb38289f59cab134a5b049d21db71c9c3844497643e1728ecd09a924a51ba273f736712543307f2b806d1a SHA512 21f3fef809b276da7f7ad33dbafefc2ebfa86b9ce9aa0dea664724c399a6743923a8a1825cffbd06d885181dc7b305d351e7ab77bd133abb98f601a84783f52f diff --git a/app-shells/fzf/fzf-0.44.0.ebuild b/app-shells/fzf/fzf-0.44.0.ebuild new file mode 100644 index 000000000000..12bc25a2e10a --- /dev/null +++ b/app-shells/fzf/fzf-0.44.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 2019-2023 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=7320b7df62039c879c4f609bca946ea09b438a98 +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/~sam/distfiles/${CATEGORY}/${PN}/${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 +} |