summaryrefslogtreecommitdiff
blob: 2776b7a87cc9a5b4852452998f9d2ae6e17cb4d5 (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
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

#VIM_PLUGIN_VIM_VERSION="7.0"
inherit vim-plugin

COMMIT_HASH="95593b67723f23979cd7344ecfd049f2f917830f"
DESCRIPTION="Vim plugin for clang-format"
HOMEPAGE="https://github.com/rhysd/vim-clang-format"
SRC_URI="https://github.com/rhysd/${PN}/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_HASH}"

LICENSE="MIT"
KEYWORDS="~amd64 ~x86"

RDEPEND="sys-devel/clang"

src_prepare() {
	default

	# tests are written in ruby, prefer to avoid that
	rm -r test || die
}