summaryrefslogtreecommitdiff
path: root/pcr/vim-sudo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/vim-sudo/PKGBUILD')
-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"
+}
+