gentoo/app-vim/gitgutter/gitgutter-99999999.ebuild
Marco Sirabella 294588df77
app-vim/*: memove redundant cleanup code.
This is a follow up of 47cf99c7.

Leave a lot of heavy lifting to einstalldocs when possible.

Signed-off-by: Marco Sirabella <marco@sirabella.org>
Closes: https://github.com/gentoo/gentoo/pull/20726
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
2021-05-18 18:51:01 +02:00

30 lines
738 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit vim-plugin
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/airblade/vim-gitgutter.git"
inherit git-r3
else
inherit vcs-snapshot
COMMIT_HASH="37bdd03d176c5e182c7e8dbdc79c3f71d2a04898"
SRC_URI="https://github.com/airblade/vim-gitgutter/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="vim plugin: shows a git diff in the sign column and stages/reverts hunks"
HOMEPAGE="https://github.com/airblade/vim-gitgutter/"
LICENSE="MIT"
VIM_PLUGIN_HELPFILES="${PN}.txt"
RDEPEND="dev-vcs/git"
src_prepare() {
default
# remove unwanted test dir
rm -rv test || die
}