guru/app-vim/themis/themis-1.7.0.ebuild
Anna (cybertailor) Vyalkova 49c5329921
app-vim/themis: update EAPI 7 -> 8
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2022-05-30 22:46:42 +05:00

28 lines
610 B
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo 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_test() {
edo bash ./bin/themis
}
src_install() {
vim-plugin_src_install bin
dosym -r /usr/share/vim/vimfiles/bin/themis /usr/bin/themis
fperms +x /usr/share/vim/vimfiles/bin/themis
}