public
Created

vim-clang-complete PKGBUILD

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
# Maintainer: Sascha Biermanns <http://prprivacybox.de/saschakb.msg>
# Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net>
# Contributor: Robson R S Peixoto <robsonpeixoto@gmail.com>
 
pkgname=vim-clang-complete
pkgver=1.4
_scriptid=14558
pkgrel=2
pkgdesc='clang complete : Use of Clang for completing C, C++, Objective-C and Objective-C++'
arch=('any')
url='http://www.vim.org/scripts/script.php?script_id=3302'
license=('unknown')
depends=('vim' 'clang')
conflicts=('vim-omnicppcomplete')
source=(clang_complete.vim::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid)
md5sums=('62b19c189601b69731ff333c680be2c3')
 
build() {
cd "$srcdir"
}
 
package() {
local _installpath="$pkgdir/usr/share/vim/vimfiles"
# from saschakb:
# removed POSIX incompatible -D option from install and used instead mkdir -p
# this let's this PKGBUILD work with more userlands
mkdir -p $_installpath/plugin/
install -m644 "clang_complete.vim" "${_installpath}/plugin/clang_complete.vim"
}
 
# vim:set ts=2 sw=2 et:

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.