blob: 2ce38456a16247d0cb3e109847fc311f4fa8d2f6 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit vim-plugin
MY_PN="${PN}.vim"
COMMIT="c3d71452154a12ccf9f6e4219ccbd625474602e5"
DESCRIPTION="vim plugin: Yet Another TypeScript Syntax"
HOMEPAGE="https://github.com/HerringtonDarkholme/yats.vim"
SRC_URI="https://github.com/HerringtonDarkholme/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${COMMIT}"
LICENSE="vim"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
${RDEPEND}
>app-vim/vader-0.3.0
)
"
DOCS=( CHANGES.markdown README.md )
src_compile() {
:
}
src_test() {
unset DISPLAY
local -x TERM="xterm"
cd test || die
vim -eu "${FILESDIR}"/vimrc -c "Vader! -q indent.vader syntax.vader tsx.vader" || die
}
src_install() {
vim-plugin_src_install ctags UltiSnips
}
|