diff options
Diffstat (limited to 'app-vim/gitgutter/gitgutter-20180815.ebuild')
| -rw-r--r-- | app-vim/gitgutter/gitgutter-20180815.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app-vim/gitgutter/gitgutter-20180815.ebuild b/app-vim/gitgutter/gitgutter-20180815.ebuild new file mode 100644 index 000000000000..38fbbde158d1 --- /dev/null +++ b/app-vim/gitgutter/gitgutter-20180815.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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="50a7062909d91a290fae04219887b1b45f3138db" + 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 files + rm LICENCE README* screenshot.png unplace.vim || die + rm -r test || die +} |
