summaryrefslogtreecommitdiff
path: root/app-vim/themis/themis-1.6.0.ebuild
blob: 26cc06e5c76f41537cae85de52c3afc631c60853 (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=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_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
}