mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Update vim packages from 8.1.0648 to 8.1.1915 (#3436)
Add pre-built binaries
This commit is contained in:
@@ -3,21 +3,21 @@ require 'package'
|
||||
class Gvim < Package
|
||||
description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. (with advanced features, such as a GUI)'
|
||||
homepage 'http://www.vim.org/'
|
||||
version '8.1.0648'
|
||||
source_url 'https://github.com/vim/vim/archive/v8.1.0648.tar.gz'
|
||||
source_sha256 '7e6ad44dbb8fda0aca91c22fa0dcaed2d845cf00c26d6d3df3bfaa38c9da222a'
|
||||
version '8.1.1915'
|
||||
source_url 'https://github.com/vim/vim/archive/v8.1.1915.tar.gz'
|
||||
source_sha256 '508bcffd340497d6279fb2d5aa98ff43190cf7983a87fe4838fb780446f900a9'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.1.0648-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.1.0648-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.1.0648-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.1.0648-chromeos-x86_64.tar.xz',
|
||||
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.1.1915-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.1.1915-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.1.1915-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.1.1915-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: 'c45090038eea4923238023236849b34366da1e6b9a50db3dc6ef8b409c4c075d',
|
||||
armv7l: 'c45090038eea4923238023236849b34366da1e6b9a50db3dc6ef8b409c4c075d',
|
||||
i686: 'a7e9a2c05d77784b6da46ee40b7bbc8365a0ea4840b1979e05abe4cbc69aa1c6',
|
||||
x86_64: '7e6c36e7602a62d615899cdc3230aacea3a08c908f1927ba2f44ff31bd09fe4f',
|
||||
aarch64: 'b31573015a9c31dd256555db8d75634e40cdfe79f3141540558887c6fe29b851',
|
||||
armv7l: 'b31573015a9c31dd256555db8d75634e40cdfe79f3141540558887c6fe29b851',
|
||||
i686: '655cf5e0076da4b7d52d7ecfe87f02b5b2ba48d1b5366652ebd08fa0288b546d',
|
||||
x86_64: '07be8e948923b2c2b81acd1ee343da7c4f221825ee3dc14bea488149cc5fef18',
|
||||
})
|
||||
|
||||
depends_on 'python27' => :build
|
||||
@@ -57,10 +57,8 @@ class Gvim < Package
|
||||
def self.install
|
||||
system "make", "VIMRCLOC=#{CREW_PREFIX}/etc", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
|
||||
system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/share/man/man1"
|
||||
|
||||
# these are provided by 'vim_runtime'
|
||||
system "rm", "-r", "#{CREW_DEST_PREFIX}/share/vim"
|
||||
FileUtils.rm_r "#{CREW_DEST_PREFIX}/share/vim"
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
|
||||
@@ -3,21 +3,26 @@ require 'package'
|
||||
class Vim < Package
|
||||
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/'
|
||||
version '8.1.0648'
|
||||
source_url 'https://github.com/vim/vim/archive/v8.1.0648.tar.gz'
|
||||
source_sha256 '7e6ad44dbb8fda0aca91c22fa0dcaed2d845cf00c26d6d3df3bfaa38c9da222a'
|
||||
version '8.1.1915'
|
||||
source_url 'https://github.com/vim/vim/archive/v8.1.1915.tar.gz'
|
||||
source_sha256 '508bcffd340497d6279fb2d5aa98ff43190cf7983a87fe4838fb780446f900a9'
|
||||
|
||||
if ARGV[0] == 'install'
|
||||
gvim = `which gvim 2> /dev/null`.chomp
|
||||
abort "gvim version #{version} already installed.".lightgreen unless "#{gvim}" == ""
|
||||
end
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.1.0648-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.1.0648-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.1.0648-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.1.0648-chromeos-x86_64.tar.xz',
|
||||
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.1.1915-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.1.1915-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.1.1915-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.1.1915-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '3ad8a65a09ee223bd7ac08026617eb1738ea9f00263a588840d3bc94f804aec6',
|
||||
armv7l: '3ad8a65a09ee223bd7ac08026617eb1738ea9f00263a588840d3bc94f804aec6',
|
||||
i686: '9e94cb4b28b8b7e6a3cd70081d85b4a2950209aa085611aa5def722f9ae585fa',
|
||||
x86_64: '03d46bc71c2785601e95b5e898b198dac56fae7810907d0beab0f08fe7c576f2',
|
||||
aarch64: '7e9139cbb1940f272ea3414facfbe34e37f59e476868d8ceb7fe2419ac1261e1',
|
||||
armv7l: '7e9139cbb1940f272ea3414facfbe34e37f59e476868d8ceb7fe2419ac1261e1',
|
||||
i686: 'a3714ab96726d3630f6903b535b4af5808fdcc1101aabf08b0d79544d676e984',
|
||||
x86_64: 'b5eeeb48785b05e94227747138b72b8ea48502b32aa0b6b7559e6582fab85a99',
|
||||
})
|
||||
|
||||
depends_on 'python27' => :build
|
||||
@@ -55,23 +60,21 @@ class Vim < Package
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "VIMRCLOC=#{CREW_PREFIX}/etc", "install"
|
||||
|
||||
system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/share/man/man1"
|
||||
|
||||
# these are provided by 'vim_runtime'
|
||||
system "rm", "-r", "#{CREW_DEST_PREFIX}/share/vim"
|
||||
FileUtils.rm_r "#{CREW_DEST_PREFIX}/share/vim"
|
||||
|
||||
# remove desktop and icon files for the cli package
|
||||
system "rm", "-r", "#{CREW_DEST_PREFIX}/share/applications"
|
||||
system "rm", "-r", "#{CREW_DEST_PREFIX}/share/icons"
|
||||
# remove desktop and icon files for the terminal package
|
||||
FileUtils.rm_r "#{CREW_DEST_PREFIX}/share/applications"
|
||||
FileUtils.rm_r "#{CREW_DEST_PREFIX}/share/icons"
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
puts
|
||||
puts "The config files are located in #{CREW_PREFIX}/etc".lightblue
|
||||
puts "User-specific configuration should go in ~/.vimrc".lightblue
|
||||
puts "The config files are located in #{CREW_PREFIX}/etc.".lightblue
|
||||
puts "User-specific configuration should go in ~/.vimrc.".lightblue
|
||||
puts
|
||||
puts "If you are upgrading from an earlier version, edit ~/.bashrc".orange
|
||||
puts "and remove the 'export VIMRUNTIME' line.".orange
|
||||
puts "and remove the 'export VIMRUNTIME' and 'export LC_ALL=C' lines.".orange
|
||||
puts
|
||||
end
|
||||
end
|
||||
|
||||
@@ -3,21 +3,21 @@ require 'package'
|
||||
class Vim_runtime < Package
|
||||
description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. (shared runtime)'
|
||||
homepage 'http://www.vim.org/'
|
||||
version '8.1.0648'
|
||||
source_url 'https://github.com/vim/vim/archive/v8.1.0648.tar.gz'
|
||||
source_sha256 '7e6ad44dbb8fda0aca91c22fa0dcaed2d845cf00c26d6d3df3bfaa38c9da222a'
|
||||
version '8.1.1915'
|
||||
source_url 'https://github.com/vim/vim/archive/v8.1.1915.tar.gz'
|
||||
source_sha256 '508bcffd340497d6279fb2d5aa98ff43190cf7983a87fe4838fb780446f900a9'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.1.0648-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.1.0648-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.1.0648-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.1.0648-chromeos-x86_64.tar.xz',
|
||||
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.1.1915-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.1.1915-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.1.1915-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.1.1915-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: '68534f604cec1223f0de74c964fde11d15313967f33a485be03f0bda09e1b87b',
|
||||
armv7l: '68534f604cec1223f0de74c964fde11d15313967f33a485be03f0bda09e1b87b',
|
||||
i686: 'e0acbd72d697053d891f9dddc3d1b6325370af50d115c70a983ab959d7d5d230',
|
||||
x86_64: '1eaf66995f199d6360391a9aacb0d5ab997954c21862c36502991544c08a4efc',
|
||||
aarch64: '84e607539c05688d675e8d283180f9035c494daf63cc7d34928eafc918f4430b',
|
||||
armv7l: '84e607539c05688d675e8d283180f9035c494daf63cc7d34928eafc918f4430b',
|
||||
i686: 'fd6b087f6651ca377859c1f158356cf4df808e3afb66754f73d1095b19444851',
|
||||
x86_64: '0e9a254b9ccce8f8ced83a025800f980de2ba4dc17967afc69458d420d5f68c6',
|
||||
})
|
||||
|
||||
depends_on 'python27' => :build
|
||||
@@ -55,12 +55,12 @@ class Vim_runtime < Package
|
||||
system "make", "VIMRCLOC=#{CREW_PREFIX}/etc", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
|
||||
# bin and man will be provided by the 'vim' packages
|
||||
system "rm", "-r", "#{CREW_DEST_PREFIX}/bin"
|
||||
system "rm", "-r", "#{CREW_DEST_PREFIX}/share/man"
|
||||
FileUtils.rm_r "#{CREW_DEST_PREFIX}/bin"
|
||||
FileUtils.rm_r "#{CREW_DEST_PREFIX}/share/man"
|
||||
|
||||
# remove desktop and icon files for the terminal package
|
||||
system "rm", "-r", "#{CREW_DEST_PREFIX}/share/applications"
|
||||
system "rm", "-r", "#{CREW_DEST_PREFIX}/share/icons"
|
||||
FileUtils.rm_r "#{CREW_DEST_PREFIX}/share/applications"
|
||||
FileUtils.rm_r "#{CREW_DEST_PREFIX}/share/icons"
|
||||
|
||||
# add sane defaults and simulate some XDG support
|
||||
FileUtils.mkdir_p("#{CREW_DEST_PREFIX}/share/vim/vimfiles")
|
||||
@@ -121,4 +121,3 @@ class Vim_runtime < Package
|
||||
EOF
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user