app-vim/themis: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-08-18 01:15:21 +05:00
parent cb26cfc5bf
commit 35259218d9
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vim-plugin
DESCRIPTION="A testing framework for Vim script"
HOMEPAGE="https://github.com/thinca/vim-themis"
SRC_URI="https://github.com/thinca/vim-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/vim-${P}"
LICENSE="ZLIB"
KEYWORDS="~amd64 ~x86"
VIM_PLUGIN_HELPFILES="themis"
src_prepare() {
default
}
src_test() {
bash ./bin/themis || die
}
src_install() {
rm -r examples test || die
vim-plugin_src_install
dosym -r /usr/share/vim/vimfiles/bin/themis /usr/bin/themis
fperms +x /usr/share/vim/vimfiles/bin/themis
}