blob: 01e7d60db9640feeafa6b7077141ad9eab202c0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"
}
|