sync/applications/vim.sh

14 lines
917 B
Bash
Raw Normal View History

2014-10-18 15:51:21 -04:00
sudo apt-get remove -y vim-tiny vim-common vim-gui-common vim vim-runtime gvim
2017-01-24 15:54:05 -05:00
sudo apt-get install -y mercurial libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python3-dev luajit liblua5.3-dev
2014-10-18 15:51:21 -04:00
sudo apt-get build-dep -y vim
mkdir -p /tmp/vim
cd /tmp/vim
rm -rf vim
2016-03-30 13:27:40 -04:00
# Old method of cloning
#(date && hg clone https://vim.googlecode.com/hg/ vim) 2>&1 |tee log
# Checkout the latest non alpha or beta tag
2017-01-02 15:22:00 -05:00
git clone https://github.com/vim/vim && cd vim && git checkout $(git tag|sort -n|grep -v '[ab]'|tail -n1)
2017-01-24 15:54:05 -05:00
./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-gui=gtk2 --enable-cscope --prefix=/usr --enable-luainterp=dynamic --enable-python3interp=dynamic --with-python3-config-dir="$(python3-config --configdir)" | tee -a log
2014-09-07 14:40:43 -04:00
make | tee -a log
sudo make install | tee -a log