mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
33 lines
909 B
Bash
33 lines
909 B
Bash
|
# $Id: PKGBUILD 49639 2009-08-14 06:20:57Z tobias $
|
||
|
# Maintainer : Aaron Griffin <aaron@archlinux.org>
|
||
|
|
||
|
pkgname=vim-omnicppcomplete
|
||
|
#I know the next version will be 0.5 just to break our crap
|
||
|
pkgver=0.4.1
|
||
|
_scriptid=7722
|
||
|
pkgrel=3
|
||
|
pkgdesc="vim c++ completion omnifunc with a ctags database"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://www.vim.org/scripts/script.php?script_id=1520"
|
||
|
license=('unknown')
|
||
|
depends=('vim>=7.0' 'ctags')
|
||
|
groups=('vim-plugins')
|
||
|
install=vimdoc.install
|
||
|
source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid)
|
||
|
md5sums=('0978a565f95d8980a0035133144db639')
|
||
|
|
||
|
build()
|
||
|
{
|
||
|
cd $srcdir
|
||
|
mv download_script.php?src_id=$_scriptid omnicppcomplete.zip
|
||
|
unzip -qqo omnicppcomplete.zip
|
||
|
|
||
|
installpath="$pkgdir/usr/share/vim/vimfiles"
|
||
|
|
||
|
mkdir -p $installpath
|
||
|
cp -r doc after autoload $installpath
|
||
|
|
||
|
#just in case... make sure it's all 644
|
||
|
find $installpath -type f -exec chmod 644 {} \;
|
||
|
}
|