blob: 7670fc7893f6c62ece20cac0f7ea72264133d34e (
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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/sudo/sudo-1.0.ebuild,v 1.3 2004/10/14 19:53:14 dholm Exp $
inherit vim-plugin
DESCRIPTION="vim plugin: edit restricted files from a normal vim session"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=729"
LICENSE="as-is"
KEYWORDS="x86 sparc mips ~ppc"
IUSE=""
RDEPEND="app-admin/sudo"
VIM_PLUGIN_HELPTEXT=\
"This plugin provides :SudoRead and :SudoWrite commands to allow reading from
and writing to restricted files from a normal vim session."
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e '/^echo/d' plugin/sudo.vim
}
|