summaryrefslogtreecommitdiff
path: root/pcr/vim-sudo
diff options
context:
space:
mode:
authorcodex <aurelien@hackers.camp>2014-12-11 08:16:28 +0100
committercodex <aurelien@hackers.camp>2014-12-11 08:16:28 +0100
commit8f386b1620ef0fa27d0eff994ade78ee5ddf5d84 (patch)
tree9d903b3e5e36b3631b09fc8f9f96593e03a26d2d /pcr/vim-sudo
parentf6f1838183128dc7a234d19225c8c8e3d27f3cb3 (diff)
downloadabslibre-8f386b1620ef0fa27d0eff994ade78ee5ddf5d84.tar.gz
abslibre-8f386b1620ef0fa27d0eff994ade78ee5ddf5d84.tar.bz2
abslibre-8f386b1620ef0fa27d0eff994ade78ee5ddf5d84.zip
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')
-rw-r--r--pcr/vim-sudo/PKGBUILD20
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"
+}
+