blob: 7afd3f83e137657624b26a8a9625be1e29b168f8 (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vim-plugin
MY_PV="${PV//_/-}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="vim plugin: Support EditorConfig files "
HOMEPAGE="https://editorconfig.org/"
SRC_URI="https://github.com/${PN%-vim}/${PN}/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="BSD-2 PSF-2"
KEYWORDS="~amd64 ~x86"
VIM_PLUGIN_HELPFILES="${PN%-vim}.txt"
PATCHES=(
"${FILESDIR}/editorconfig-vim-1.0.0_beta-wildcard-slash.patch"
)
src_prepare() {
default
rm LICENSE LICENSE.PSF \
mkzip.sh .editorconfig \
.git{ignore,modules} \
.{travis,appveyor}.yml || die
}
src_install() {
# we don't want to install the tests
rm -r tests || die
vim-plugin_src_install
}
|