# Maintainer: Aaron Schaefer pkgname=vim-supertab pkgver=0.60 _sourceid=11386 pkgrel=1 pkgdesc='A Vim plugin that allows you to use the tab key to do all insert completion' arch=('any') url='http://www.vim.org/scripts/script.php?script_id=1643' license=('BSD') depends=('vim') source=("http://www.vim.org/scripts/download_script.php?src_id=$_sourceid" LICENSE) md5sums=('8647d23eb98ec713a25d404357c9d463' '3019677aed9e27a4644cb35d43ef6626') build() { cd $srcdir mv download_script.php?src_id=$_sourceid supertab-$pkgver.vim installpath="$pkgdir/usr/share/vim/vimfiles" install -D -m644 supertab-$pkgver.vim $installpath/plugin/supertab.vim || return 1 install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }