diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-16 08:04:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-16 08:04:03 +0000 |
commit | 97f40b36b1afa9726e32962d11f3ac2d0bc5792e (patch) | |
tree | 1c7d586bc8a53d3b768630527bb80a477d661fa3 /app-shells | |
parent | b435e036d9775b71048373b91d4c7c3398826858 (diff) |
gentoo auto-resync : 16:02:2023 - 08:04:02
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/Manifest.gz | bin | 8645 -> 8645 bytes | |||
-rw-r--r-- | app-shells/fzf/Manifest | 3 | ||||
-rw-r--r-- | app-shells/fzf/fzf-0.38.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 e47f06d6ad17..be0caba8ff8b 100644 --- a/app-shells/Manifest.gz +++ b/app-shells/Manifest.gz diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest index 158626ee20e3..7697bb71467c 100644 --- a/app-shells/fzf/Manifest +++ b/app-shells/fzf/Manifest @@ -2,6 +2,9 @@ DIST fzf-0.36.0-deps.tar.xz 16806808 BLAKE2B f121b3000bc5a0d72ee5cb66f59f4f44c41 DIST fzf-0.36.0.tar.gz 229126 BLAKE2B faa04870b7654b1ffb2f1c453636e33eab94e682c7db4702719419a5eca5ea136c657179248dd646573a625f575c823f9dcfd0023a96390bbf689e7455224411 SHA512 8e87dbd3b5ae9e0dc6a76855f7c75c9b4edc8ce797b2cd4eda053c4e1d618bb9afb2b24602e01776a49e47a00f2cd803ed433043f0acec8d385f741b13583e9e DIST fzf-0.37.0-deps.tar.xz 16806808 BLAKE2B f121b3000bc5a0d72ee5cb66f59f4f44c41af30f28ca935a607b424399d12dc762f25811aea999e5de126e2727f8bda614e026da6983ed535d048a7229a07065 SHA512 121c6b1be0cd3af752b11461a72c22e3bc55eec12c12367b354a4ff4d4dc75fb0215cf19cec52008473045c6330a4af71b2e3a14a9a0a124e18aacc1aaad97a9 DIST fzf-0.37.0.tar.gz 230469 BLAKE2B 3281ae0e9b13f8be9d2bc5eb5bfab534a7b56279346ed500932840fb90e3bf0137c5610fdc5928faa99fadbb2cb10b98c46eea7a41f3a76cff3805ed52d255a7 SHA512 bb8cb4b6c83e978c45de757784f29be883070ef7abab2fe2dd89bc668be7628a3f476f97abf82f98220942c37317df0404e3fd2205c2e93ec506a6ca8beaf74c +DIST fzf-0.38.0-deps.tar.xz 16806808 BLAKE2B f121b3000bc5a0d72ee5cb66f59f4f44c41af30f28ca935a607b424399d12dc762f25811aea999e5de126e2727f8bda614e026da6983ed535d048a7229a07065 SHA512 121c6b1be0cd3af752b11461a72c22e3bc55eec12c12367b354a4ff4d4dc75fb0215cf19cec52008473045c6330a4af71b2e3a14a9a0a124e18aacc1aaad97a9 +DIST fzf-0.38.0.tar.gz 232613 BLAKE2B fa05732fadfa47646d67aaf7bca94d143c5cb9267520e83a2278aac88c32624cb2dc87d198e1e83348fc3bb1339d38cb1b59e0fa251aa97c5f32daf9c0f71603 SHA512 a9a89f8e228b52fc20b21624c9024c932dee2a786a711788b1ea8b0c2829099be0b74e6a5e2676ec23288a846af9feda683ac4644409848fb362e4ff9278f5fc EBUILD fzf-0.36.0.ebuild 1981 BLAKE2B d8dda1ced1e0b2b8800cdfaba567473677115a2628c4ccc0a31d917cb9dd670a87713999e7894c94a88ff03edc0202cb3e431c92ed3dbf74291a908c7a71b338 SHA512 ca4e3404099d380c3f39b73327b3f29f3dc37c5cb3df803d3df78a22c65a5a47db208ae0a00b32af8ee32540270b9b7847919a9533c47ea1f9438d3d3a69e77c EBUILD fzf-0.37.0.ebuild 1983 BLAKE2B dd0a88ff3b72e8647207ec0b34a629546c1677cc2a6d8128fec10e8e7263e53b60e6abb9640e3fb213fa0443226905f00659dd4f4d74e2b737983a133a7ff8a5 SHA512 0ecf738b5ff8a9b242abc9cb3387cb8bb97234a12c2b9e6237a5b822eb4c088d906b4c15c024a0a236cfad752f1cbdb2eac2fb90d9ee8cbe9e323bb1b8a89b04 +EBUILD fzf-0.38.0.ebuild 1983 BLAKE2B ddb9cf9ba73cf7c8f655ec03fa4300f43f5d2274a0633b4db5550f1a399c830bf5296d19b69e01630da2b95bf849ad8fd4739cbf55749d528aa6c51835a9e05e SHA512 302439007e9c03904075f9fe2cc0f780af53b9e1d374bc6d2a63fe299c6af2d3a2fc0df4f051d9009ec59628c8935e04f6a3142f4ecf2bd33c99aee4f6ab62e8 MISC metadata.xml 469 BLAKE2B 3d6dcce756d040b715bbf17f33faea2c0ddd810857cb38289f59cab134a5b049d21db71c9c3844497643e1728ecd09a924a51ba273f736712543307f2b806d1a SHA512 21f3fef809b276da7f7ad33dbafefc2ebfa86b9ce9aa0dea664724c399a6743923a8a1825cffbd06d885181dc7b305d351e7ab77bd133abb98f601a84783f52f diff --git a/app-shells/fzf/fzf-0.38.0.ebuild b/app-shells/fzf/fzf-0.38.0.ebuild new file mode 100644 index 000000000000..d4e4aabb02a8 --- /dev/null +++ b/app-shells/fzf/fzf-0.38.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=352ea072269dfe2a3c429785a95a2f22887ccda3 +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 ~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 +} |