summaryrefslogtreecommitdiff
blob: caa1fc4488e14f38866dcb2b80e43abf95c8ed69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit vim-plugin

DESCRIPTION="vim plugin: edit files using sudo or su"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2709 https://github.com/chrisbra/SudoEdit.vim"
LICENSE="vim"
KEYWORDS="~amd64 ~x86"
VIM_PLUGIN_HELPFILES="SudoEdit.txt"

RDEPEND="|| ( app-admin/sudo sys-apps/shadow )"

src_prepare() {
	# remove unused windows related file
	rm autoload/sudo.cmd || die
}