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
|
pkgbase = vim-youcompleteme-git
|
||||||
pkgdesc = A code-completion engine for Vim
|
pkgdesc = A code-completion engine for Vim
|
||||||
pkgver = r2529.10131222
|
pkgver = r2532.d556a43c
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/Valloric/YouCompleteMe
|
url = https://github.com/Valloric/YouCompleteMe
|
||||||
install = install
|
install = install
|
||||||
|
@ -41,7 +41,7 @@ _neovim="$NEOVIM_YOUCOMPLETEME"
|
|||||||
# Default PKGBUILD Configuration #
|
# Default PKGBUILD Configuration #
|
||||||
#=========================================================================================================#
|
#=========================================================================================================#
|
||||||
pkgname=vim-youcompleteme-git
|
pkgname=vim-youcompleteme-git
|
||||||
pkgver=r2529.10131222
|
pkgver=r2532.d556a43c
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "YouCompleteMe" || exit
|
cd "YouCompleteMe" || exit
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
@ -181,21 +181,21 @@ prepare() {
|
|||||||
|
|
||||||
# Add the java completion engine dynamically...
|
# Add the java completion engine dynamically...
|
||||||
if [[ "$_java" == "y" ]]; then
|
if [[ "$_java" == "y" ]]; then
|
||||||
|
|
||||||
msg2 'Parsing out the JDTLS package version from upstream...'
|
msg2 'Parsing out the JDTLS package version from upstream...'
|
||||||
local jdtls_package_name="jdt-language-server"
|
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_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"`
|
local jdtls_buildstamp=`egrep '^JDTLS_BUILD_STAMP' "$srcdir/ycmd/build.py" | sed -e "s/.* = //g" -e "s/'//g"`
|
||||||
|
|
||||||
if [[ "$jdtls_milestone" != "" ]] && [[ "$jdtls_buildstamp" != "" ]]; then
|
if [[ "$jdtls_milestone" != "" ]] && [[ "$jdtls_buildstamp" != "" ]]; then
|
||||||
msg2 'JDTLS package version matched. Downloading...'
|
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
|
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
|
tar xf "${jdtls_package_name}"-"${jdtls_milestone}"-"${jdtls_buildstamp}".tar.gz
|
||||||
else
|
else
|
||||||
error 'Mismatched JDTLS version'
|
error 'Mismatched JDTLS version'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
msg2 'Setting up Git submodules...'
|
msg2 'Setting up Git submodules...'
|
||||||
|
|
||||||
@ -328,8 +328,13 @@ package() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$_use_system_jedi" == "n" ]]; then
|
if [[ "$_use_system_jedi" == "n" ]]; then
|
||||||
cp -r "$srcdir/YouCompleteMe/third_party/ycmd/third_party/jedi_deps" \
|
mkdir -p "$pkgdir/$vimfiles_dir/third_party/ycmd/third_party/jedi_deps/"{jedi,parso,numpydoc}
|
||||||
"$pkgdir/$vimfiles_dir/third_party/ycmd/third_party/"
|
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
|
fi
|
||||||
|
|
||||||
if [[ "$_omnisharp" == "y" ]]; then
|
if [[ "$_omnisharp" == "y" ]]; then
|
||||||
@ -358,11 +363,6 @@ package() {
|
|||||||
"$pkgdir/$vimfiles_dir/third_party/ycmd/third_party"
|
"$pkgdir/$vimfiles_dir/third_party/ycmd/third_party"
|
||||||
fi
|
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
|
if [[ "$_java" == "y" ]]; then
|
||||||
mv "$srcdir/YouCompleteMe/third_party/ycmd/third_party/eclipse.jdt.ls" "$pkgdir/$vimfiles_dir/third_party/ycmd/third_party"
|
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
|
# 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