pkgname=ropevim pkgver=0.2 pkgrel=4 pkgdesc="Plugin for performing python refactorings in vim" arch=('i686' 'x86_64') url="http://rope.sourceforge.net/ropevim.html" license=('GPL') depends=('python>=2.5' 'rope' 'vim') source=(http://downloads.sourceforge.net/rope/${pkgname}-${pkgver}.tar.gz) md5sums=('42390b31187a6ac5f06b5148af661f97') build() { cd $srcdir/$pkgname-$pkgver python ./setup.py install --root=$pkgdir --prefix=/usr || return 1 install -m 444 -D ropevim.vim $pkgdir/usr/share/vim/vimfiles/plugin/ropevim.vim }