diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-02 08:48:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-02 08:48:32 +0000 |
commit | e12724a13a1677867978f5ecd7fabda4eb1e3aa8 (patch) | |
tree | c4a7ae297f78e8e1302dc99fe9b664b7f34ce937 /app-shells/fzf/fzf-0.42.0-r1.ebuild | |
parent | b46ba5cce8bd84d9a74b39923d9cdb29659cf662 (diff) |
gentoo auto-resync : 02:01:2024 - 08:48:32
Diffstat (limited to 'app-shells/fzf/fzf-0.42.0-r1.ebuild')
-rw-r--r-- | app-shells/fzf/fzf-0.42.0-r1.ebuild | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/app-shells/fzf/fzf-0.42.0-r1.ebuild b/app-shells/fzf/fzf-0.42.0-r1.ebuild deleted file mode 100644 index 4477d3f3bc71..000000000000 --- a/app-shells/fzf/fzf-0.42.0-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# 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=d471067e3f46f64e6401d1c5717424535fe4c96c -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" - -PATCHES=( - "${FILESDIR}"/${PN}-0.42.0-armv8l-bitness.patch -) - -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 -} |