gentoo-ebuilds/app-vim/gitgutter/gitgutter-20220524.ebuild
Sam James 1b551cea65
app-vim/gitgutter: Stabilize 20220524 amd64, #830867
Signed-off-by: Sam James <sam@gentoo.org>
2022-08-17 03:46:50 +01:00

29 lines
735 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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="ded11946c04aeab5526f869174044019ae9e3c32"
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 -r test || die
}