mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-22 03:11:30 -08:00
version bump 3 commits vim-youcompleteme-git
This commit is contained in:
parent
254220ce7a
commit
53de1d2c62
@ -1,6 +1,6 @@
|
||||
pkgbase = vim-youcompleteme-git
|
||||
pkgdesc = A code-completion engine for Vim
|
||||
pkgver = r2529.10131222
|
||||
pkgver = r2532.d556a43c
|
||||
pkgrel = 1
|
||||
url = https://github.com/Valloric/YouCompleteMe
|
||||
install = install
|
||||
|
@ -41,7 +41,7 @@ _neovim="$NEOVIM_YOUCOMPLETEME"
|
||||
# Default PKGBUILD Configuration #
|
||||
#=========================================================================================================#
|
||||
pkgname=vim-youcompleteme-git
|
||||
pkgver=r2529.10131222
|
||||
pkgver=r2532.d556a43c
|
||||
pkgver() {
|
||||
cd "YouCompleteMe" || exit
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
@ -83,7 +83,7 @@ sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP
|
||||
# Applying PKBUILD Build Options #
|
||||
#=========================================================================================================#
|
||||
|
||||
if [[ "$_gocode" == "y" ]]; then
|
||||
if [[ "$_gocode" == "y" ]];then
|
||||
# ycmd
|
||||
source+=('git+https://github.com/mdempsky/gocode.git')
|
||||
source+=('git+https://github.com/rogpeppe/godef.git')
|
||||
@ -181,21 +181,21 @@ prepare() {
|
||||
|
||||
# Add the java completion engine dynamically...
|
||||
if [[ "$_java" == "y" ]]; then
|
||||
|
||||
msg2 'Parsing out the JDTLS package version from upstream...'
|
||||
local jdtls_package_name="jdt-language-server"
|
||||
local jdtls_milestone=`egrep '^JDTLS_MILESTONE' "$srcdir/ycmd/build.py" | sed -e "s/.* = //g" -e "s/'//g"`
|
||||
local jdtls_buildstamp=`egrep '^JDTLS_BUILD_STAMP' "$srcdir/ycmd/build.py" | sed -e "s/.* = //g" -e "s/'//g"`
|
||||
|
||||
if [[ "$jdtls_milestone" != "" ]] && [[ "$jdtls_buildstamp" != "" ]]; then
|
||||
msg2 'JDTLS package version matched. Downloading...'
|
||||
curl -LO http://download.eclipse.org/jdtls/milestones/${jdtls_milestone}/${jdtls_package_name}-${jdtls_milestone}-${jdtls_buildstamp}.tar.gz
|
||||
tar xf ${jdtls_package_name}-${jdtls_milestone}-${jdtls_buildstamp}.tar.gz
|
||||
curl -LO http://download.eclipse.org/jdtls/milestones/"${jdtls_milestone}"/"${jdtls_package_name}"-"${jdtls_milestone}"-"${jdtls_buildstamp}".tar.gz
|
||||
tar xf "${jdtls_package_name}"-"${jdtls_milestone}"-"${jdtls_buildstamp}".tar.gz
|
||||
else
|
||||
error 'Mismatched JDTLS version'
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
msg2 'Setting up Git submodules...'
|
||||
|
||||
@ -328,8 +328,13 @@ package() {
|
||||
fi
|
||||
|
||||
if [[ "$_use_system_jedi" == "n" ]]; then
|
||||
cp -r "$srcdir/YouCompleteMe/third_party/ycmd/third_party/jedi_deps" \
|
||||
"$pkgdir/$vimfiles_dir/third_party/ycmd/third_party/"
|
||||
mkdir -p "$pkgdir/$vimfiles_dir/third_party/ycmd/third_party/jedi_deps/"{jedi,parso,numpydoc}
|
||||
cp -r "$srcdir/YouCompleteMe/third_party/ycmd/third_party/jedi_deps/jedi/jedi" \
|
||||
"$pkgdir/$vimfiles_dir/third_party/ycmd/third_party/jedi_deps/jedi/"
|
||||
cp -r "$srcdir/YouCompleteMe/third_party/ycmd/third_party/jedi_deps/parso/parso" \
|
||||
"$pkgdir/$vimfiles_dir/third_party/ycmd/third_party/jedi_deps/parso/"
|
||||
cp -r "$srcdir/YouCompleteMe/third_party/ycmd/third_party/jedi_deps/numpydoc/numpydoc" \
|
||||
"$pkgdir/$vimfiles_dir/third_party/ycmd/third_party/jedi_deps/numpydoc/"
|
||||
fi
|
||||
|
||||
if [[ "$_omnisharp" == "y" ]]; then
|
||||
@ -358,11 +363,6 @@ package() {
|
||||
"$pkgdir/$vimfiles_dir/third_party/ycmd/third_party"
|
||||
fi
|
||||
|
||||
if [[ "$_typescript" == "y" ]]; then
|
||||
cp -r "$srcdir/YouCompleteMe/third_party/ycmd/third_party/tsserver" \
|
||||
"$pkgdir/$vimfiles_dir/third_party/ycmd/third_party"
|
||||
fi
|
||||
|
||||
if [[ "$_java" == "y" ]]; then
|
||||
mv "$srcdir/YouCompleteMe/third_party/ycmd/third_party/eclipse.jdt.ls" "$pkgdir/$vimfiles_dir/third_party/ycmd/third_party"
|
||||
# Force the java completion engine to create its workspace at /tmp instead which is writeable by every user
|
||||
|
Loading…
Reference in New Issue
Block a user