blob: e59f751b21119530fdf765c4f1c3b22d8c97c68c (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit vim-plugin
DESCRIPTION="vim plugin: Go development plugin for Vim"
HOMEPAGE="https://github.com/fatih/vim-go"
SRC_URI="https://github.com/fatih/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 x86"
RESTRICT="test"
RDEPEND="dev-go/gopls"
DOCS=( README.md CHANGELOG.md )
src_compile() {
# safely skip `make test` triggered by `make` as it runs `go get` commands
# TODO: Is :GoInstallBinaries still necessary? For details see:
# https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt
:;
}
src_install(){
insinto /usr/share/vim/vimfiles/
doins -r templates
vim-plugin_src_install
}
|