blob: 8ed581487b1e47b799b07be141ea447998262e80 (
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
|
# 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
}
|