Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
d3fec5ba
Commit
d3fec5ba
authored
Dec 21, 2017
by
Gangstead
Committed by
GitHub
Dec 21, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1545 from uberhacker/update-vim-package
Update vim from 8.0.586 to 8.0
parents
e27d0a96
6d33c3cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
packages/vim.rb
packages/vim.rb
+4
-11
No files found.
packages/vim.rb
View file @
d3fec5ba
...
...
@@ -3,21 +3,13 @@ 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.0
.586
'
source_url
'ftp://ftp.vim.org/pub/vim/unix/vim-8.0.
586.
tar.bz2'
version
'8.0'
source_url
'ftp://ftp.vim.org/pub/vim/unix/vim-8.0.tar.bz2'
source_sha256
'08bd0d1dd30ece3cb9905ccd48b82b2f81c861696377508021265177dc153a61'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0.586-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0.586-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0.586-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0.586-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'4b344479de2a777293f738d17944712ddc64339fedc1921cc72e4fd88494e780'
,
armv7l:
'4b344479de2a777293f738d17944712ddc64339fedc1921cc72e4fd88494e780'
,
i686:
'50dd8e043a2b264a7d468f186dbeda79520e763b4fab78ff577102e4962cb46d'
,
x86_64:
'bd5abac6c9afe34430b95e983a240576474421af698491e046c9dd4cab7a511b'
,
})
depends_on
'compressdoc'
=>
:build
...
...
@@ -47,12 +39,13 @@ class Vim < Package
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
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"
end
def
self
.
postinstall
puts
"
\n
Make 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
"ln -s
#{
CREW_PREFIX
}
/
vim
~/.vim"
.
lightblue
puts
"ln -s
#{
CREW_PREFIX
}
/
share/vim/vim80
~/.vim"
.
lightblue
puts
"ln -s ~/.vim/vimrc ~/.vimrc
\n
"
.
lightblue
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment