summaryrefslogtreecommitdiff
path: root/app-vim/rainbow/rainbow-3.4.0_p20211113.ebuild
blob: 7df5606d4ee0eaf1e1831c0d336e46d183bc3730 (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
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit readme.gentoo-r1 vim-plugin

COMMIT="c18071e5c7790928b763c2e88c487dfc93d84a15"
DESCRIPTION="vim plugin: Rainbow Parentheses Improved"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=4176
https://github.com/luochen1990/rainbow"
SRC_URI="https://github.com/luochen1990/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"

LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86"

VIM_PLUGIN_HELPFILES="rainbow"

src_install() {
	vim-plugin_src_install
	readme.gentoo_create_doc
}

pkg_postinst() {
	vim-plugin_pkg_postinst
	readme.gentoo_print_elog
}