guru/app-vim/vader/vader-0.3.0.ebuild
Anna (cybertailor) Vyalkova 28e276c049
app-vim/vader: new package, add 0.3.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2022-10-29 07:02:00 +05:00

28 lines
622 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit vim-plugin
MY_PN="${PN}.vim"
DESCRIPTION="A simple Vimscript test framework"
HOMEPAGE="https://github.com/junegunn/vader.vim"
SRC_URI="https://github.com/junegunn/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
KEYWORDS="~amd64"
VIM_PLUGIN_HELPFILES="vader"
DOCS=( example )
src_install() {
vim-plugin_src_install
# make an isolated environment for running tests
insinto /usr/share/${PN}
doins -r autoload doc ftdetect ftplugin plugin syntax
}