Commit 74c15b77 authored by Chris Thurber's avatar Chris Thurber Committed by Ed Reel

Updated vim to 8.1 to fix the python3 errors. (#2558)

parent 72d99060
...@@ -3,21 +3,13 @@ require 'package' ...@@ -3,21 +3,13 @@ require 'package'
class Vim < Package class Vim < Package
description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient.' description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient.'
homepage 'http://www.vim.org/' homepage 'http://www.vim.org/'
version '8.0-3' version '8.1'
source_url 'ftp://ftp.vim.org/pub/vim/unix/vim-8.0.tar.bz2' source_url 'ftp://ftp.vim.org/pub/vim/unix/vim-8.1.tar.bz2'
source_sha256 '08bd0d1dd30ece3cb9905ccd48b82b2f81c861696377508021265177dc153a61' source_sha256 '8b69fbd01c877dd8ecbbeca1dc66e5e927228d631ac4c2174b9307eb5c827c86'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0-3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0-3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0-3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0-3-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '5b7271a46f852461ee5ec01894b0ac5ca78e606eb0769763ab85f0a5f5bf4ca5',
armv7l: '5b7271a46f852461ee5ec01894b0ac5ca78e606eb0769763ab85f0a5f5bf4ca5',
i686: '29cf236b9cb80869fa0c4a255834f139e5e6487fe2f0ba8e0c10686edc6553f8',
x86_64: 'e1459257c1543a695f673452eaf9d0a2db7e1adc21252eb6cfc56405a134203e',
}) })
depends_on 'compressdoc' => :build depends_on 'compressdoc' => :build
...@@ -48,13 +40,13 @@ class Vim < Package ...@@ -48,13 +40,13 @@ class Vim < Package
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/share/man/man1" system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/share/man/man1"
system "cp #{CREW_DEST_PREFIX}/share/vim/vim80/vimrc_example.vim #{CREW_DEST_PREFIX}/share/vim/vim80/vimrc" system "cp #{CREW_DEST_PREFIX}/share/vim/vim81/vimrc_example.vim #{CREW_DEST_PREFIX}/share/vim/vim81/vimrc"
end end
def self.postinstall def self.postinstall
puts "\nMake sure to put your .vim directory in a subdirectory of #{CREW_PREFIX} so it has execute permissions.".lightblue puts "\nMake sure to put your .vim directory in a subdirectory of #{CREW_PREFIX} so it has execute permissions.".lightblue
puts "You can then symlink to your home directory so vim can see it as follows:".lightblue puts "You can then symlink to your home directory so vim can see it as follows:".lightblue
puts "ln -s #{CREW_PREFIX}/share/vim/vim80 ~/.vim".lightblue puts "ln -s #{CREW_PREFIX}/share/vim/vim81 ~/.vim".lightblue
puts "ln -s ~/.vim/vimrc ~/.vimrc\n".lightblue puts "ln -s ~/.vim/vimrc ~/.vimrc\n".lightblue
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment