summaryrefslogtreecommitdiff
path: root/pcr/vim-pydiction/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/vim-pydiction/PKGBUILD')
-rw-r--r--pcr/vim-pydiction/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/vim-pydiction/PKGBUILD b/pcr/vim-pydiction/PKGBUILD
new file mode 100644
index 000000000..f2cfa4ada
--- /dev/null
+++ b/pcr/vim-pydiction/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
+# Contributor: Alireza Savand <alireza.savand@gmail.com>
+# Contributor: lemanyk <lemanyk@gmail.com>
+# Contributor: Florian Friesdorf <archlinux@chaoflow.net>
+# Contributor: Laszlo Papp <djszapi @ gmail at com>
+
+pkgname=vim-pydiction
+pkgver=1.2.3
+_scriptid=21842
+pkgrel=2
+pkgdesc="Allows you to auto-complete your Python code"
+arch=('any')
+url="http://www.vim.org/scripts/script.php?script_id=850"
+license=('BSD')
+groups=('vim-plugins')
+depends=('vim' 'python2')
+install='pydiction.install'
+source=(${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid})
+
+package() {
+ cd ${srcdir}/pydiction
+
+ install -Dm755 pydiction.py ${pkgdir}/usr/bin/pydiction.py
+ install -Dm644 complete-dict ${pkgdir}/usr/share/pydiction/complete-dict
+ install -Dm644 after/ftplugin/python_pydiction.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/python_pydiction.vim
+ install -Dm644 README.md ${pkgdir}/usr/share/doc/${pkgname}/README.txt
+}
+