updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / vim-ipython-git / PKGBUILD
blobba3a639672e13105ff3a595ed818b3b9f1782153
1 # Maintainer: Emmanuel Gras <gras.emmanuel@gmail.com>
3 pkgname=vim-ipython-git
4 pkgver=20110829
5 pkgrel=1
6 pkgdesc="A two-way integration between Vim and IPython 0.11+ "
7 arch=('any')
8 url="https://github.com/ivanov/vim-ipython"
9 license=('GPL')
10 depends=('vim' 'ipython>=0.11' 'pyzmq-git')
11 makedepends=('git')
12 provides=('vim-ipython')
13 source=()
14 noextract=()
16 _gitroot=https://github.com/ivanov/vim-ipython
17 _gitname=vim-ipython
19 build() {
20   cd "$srcdir"
21   msg "Connecting to GIT server...."
23   if [[ -d "$_gitname" ]]; then
24     cd "$_gitname" && git pull origin
25     msg "The local files are updated."
26   else
27     git clone "$_gitroot" "$_gitname"
28   fi
30   msg "GIT checkout done or server timeout"
33 package() {
34   cd "$srcdir/$_gitname"
35   install -D ftplugin/python/ipy.vim $pkgdir/usr/share/vim/vimfiles/ftplugin/python/ipy.vim
39 # vim:set ts=2 sw=2 et: