summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-vim/sudoedit/sudoedit-0.21.ebuild')
-rw-r--r--app-vim/sudoedit/sudoedit-0.21.ebuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-vim/sudoedit/sudoedit-0.21.ebuild b/app-vim/sudoedit/sudoedit-0.21.ebuild
new file mode 100644
index 00000000000..79c63354ee6
--- /dev/null
+++ b/app-vim/sudoedit/sudoedit-0.21.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 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 files
+ rm autoload/{sudo.cmd,SudoEdit.vbs} || die
+}