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
fdf38e48
Commit
fdf38e48
authored
Dec 05, 2017
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update vim from 8.0-1 to 8.0.586
parent
efb500b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
15 deletions
+23
-15
packages/vim.rb
packages/vim.rb
+23
-15
No files found.
packages/vim.rb
View file @
fdf38e48
...
...
@@ -3,23 +3,16 @@ 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
-1
'
source_url
'ftp://ftp.vim.org/pub/vim/unix/vim-8.0.tar.bz2'
version
'8.0
.586
'
source_url
'ftp://ftp.vim.org/pub/vim/unix/vim-8.0.
586.
tar.bz2'
source_sha256
'08bd0d1dd30ece3cb9905ccd48b82b2f81c861696377508021265177dc153a61'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0-1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0-1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0-1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/vim-8.0-1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'00b27877b9f8df26396f172dba2761b85c1aa3ffd9332c7df3de7d9578e2a993'
,
armv7l:
'00b27877b9f8df26396f172dba2761b85c1aa3ffd9332c7df3de7d9578e2a993'
,
i686:
'8eb41d4ef310e5fde6416f6e205806ba8615df9b38a84e0c3d1fa9362451bc6e'
,
x86_64:
'dd869d3d0a499ea0a931a8370b72fc69b4a37b89b6d8e389861294d72b0290c1'
,
})
depends_on
'compressdoc'
=>
:build
depends_on
'ncurses'
# vim uses shared library of following languages, so need them isntalled at run-time
depends_on
'perl'
...
...
@@ -27,16 +20,31 @@ class Vim < Package
depends_on
'ruby'
def
self
.
build
system
'./configure --prefix=/usr/local --enable-gui=no --with-features=huge --without-x --disable-nls --enable-multibyte --with-tlib=ncurses --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --with-ruby-command=/usr/local/bin/ruby --disable-selinux'
system
"./configure \
--prefix=
#{
CREW_PREFIX
}
\
--enable-gui=no \
--with-features=huge \
--without-x \
--disable-nls \
--enable-multibyte \
--with-tlib=ncurses \
--enable-perlinterp \
--enable-pythoninterp \
--enable-rubyinterp \
--with-ruby-command=
#{
CREW_PREFIX
}
/bin/ruby \
--disable-selinux"
system
"make"
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
system
"compressdoc --gzip -9
#{
CREW_DEST_PREFIX
}
/share/man/man1"
end
puts
"
\n
Make sure to put your .vim directory in a subdirectory of /usr/local so it has execute permissions"
puts
"You can then symlink to your home directory so vim can see it"
puts
"
\t
ln -s /usr/local/vim ~/.vim"
puts
"
\t
ln -s ~/.vim/vimrc ~/.vimrc
\n\n
"
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 ~/.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