summaryrefslogtreecommitdiff
blob: ebf1fe13f8be03ba8b1e4506b5417a2acb2bfc96 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit vim-plugin

DESCRIPTION="vim plugin: Sublime Text's awesome multiple selection feature for Vim"
HOMEPAGE="https://github.com/terryma/vim-multiple-cursors"
SRC_URI="https://github.com/terryma/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"

src_install() {
	default
	vim-plugin_src_install
	rm -r \
		"${ED}"/usr/share/vim/vimfiles/spec \
		"${ED}"/usr/share/vim/vimfiles/assets \
		"${ED}"/usr/share/doc/${PF}/MIT-LICENSE.txt \
		"${ED}"/usr/share/doc/${PF}/Rakefile \
		"${ED}"/usr/share/doc/${PF}/Gemfile.lock \
		|| die "rm failed"
}