mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
33 lines
627 B
Bash
33 lines
627 B
Bash
# 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"
|
|
|
|
S="$WORKDIR"
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT=0
|
|
|
|
RDEPEND="
|
|
sys-apps/ripgrep
|
|
app-shells/fzf
|
|
sys-apps/bat
|
|
"
|
|
|
|
src_unpack() {
|
|
cp "$DISTDIR/$PN" "$WORKDIR/" || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin "${PN}"
|
|
}
|
|
|
|
pkg_postinst() {
|
|
einfo "For opening a file on the specific line - install https://github.com/bogado/file-line"
|
|
}
|