diff options
author | codex <aurelien@hackers.camp> | 2014-12-11 08:16:28 +0100 |
---|---|---|
committer | codex <aurelien@hackers.camp> | 2014-12-11 08:16:28 +0100 |
commit | 8f386b1620ef0fa27d0eff994ade78ee5ddf5d84 (patch) | |
tree | 9d903b3e5e36b3631b09fc8f9f96593e03a26d2d /pcr/vim-sudo/PKGBUILD | |
parent | f6f1838183128dc7a234d19225c8c8e3d27f3cb3 (diff) |
Adding the ability to read and write one file with root privileges without running vim as root (:w sudo:/etc/rc.conf)
Diffstat (limited to 'pcr/vim-sudo/PKGBUILD')
-rw-r--r-- | pcr/vim-sudo/PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/vim-sudo/PKGBUILD b/pcr/vim-sudo/PKGBUILD new file mode 100644 index 000000000..1803f780e --- /dev/null +++ b/pcr/vim-sudo/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Maintainer : Bob Fanger < bfanger(at)gmail > + +pkgname=vim-sudo +pkgver=2.0 +pkgrel=5 +pkgdesc="Adding the ability to read and write one file with root privileges without running vim as root (:w sudo:/etc/rc.conf)" +arch=(i686 x86_64) +license="unknown" +url="http://www.vim.org/scripts/script.php?script_id=729" +depends=(vim sudo) +groups=('vim-plugins') +source=(http://www.vim.org/scripts/download_script.php?src_id=3477) + +package() +{ + cd "${srcdir}" + install -D -m644 "download_script.php?src_id=3477" "$pkgdir/usr/share/vim/vimfiles/plugin/sudo.vim" +} + |