mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
app-shells/igr: new package
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
36
app-shells/igr/igr-9999.ebuild
Normal file
36
app-shells/igr/igr-9999.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Interactive rg (ripgrep) wrapper in fzf: Interactive grep (search)"
|
||||
HOMEPAGE="https://github.com/DanielFGray/fzf-scripts"
|
||||
SRC_URI="https://raw.githubusercontent.com/DanielFGray/fzf-scripts/master/$PN"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT=0
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/ripgrep
|
||||
app-shells/fzf
|
||||
sys-apps/bat
|
||||
app-editors/vim
|
||||
"
|
||||
|
||||
S="$WORKDIR"
|
||||
|
||||
src_unpack() {
|
||||
cp "$DISTDIR/$PN" "$WORKDIR/" || die
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"$FILESDIR/vim-open-current-line.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "For opening a file on the specific line - install https://github.com/bogado/file-line"
|
||||
}
|
||||
Reference in New Issue
Block a user