Skip to content

Instantly share code, notes, and snippets.

@Silberbogen
Created June 23, 2011 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Silberbogen/1043669 to your computer and use it in GitHub Desktop.
Save Silberbogen/1043669 to your computer and use it in GitHub Desktop.
vim-clang-complete PKGBUILD
# 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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment