Skip to content

Commit

Permalink
Change vim download source. Move vimtutor into own manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
deevus committed Mar 21, 2017
1 parent e5e96d3 commit e5e06d7
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 20 deletions.
52 changes: 32 additions & 20 deletions bucket/vim.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,46 @@
{
"homepage": "http://www.vim.org",
"license": "http://vimdoc.sourceforge.net/htmldoc/uganda.html#license",
"version": "8.0.069",
"url": [
"http://ftp.vim.org/pub/vim/pc/vim80-069w32.zip",
"http://ftp.vim.org/pub/vim/pc/vim80-069rt.zip",
"https://sourceforge.net/projects/gettext/files/libiconv-win32/1.9.1/libiconv-1.9.1.bin.woe32.zip",
"https://sourceforge.net/projects/gettext/files/gettext-win32/0.13.1/gettext-runtime-0.13.1.bin.woe32.zip",
"https://raw.github.com/lukesampson/psutils/3653063/vimtutor.ps1"
],
"hash": [
"15D8CE633137822925056AF33E4BBB438E6C3603B6594897C51D3BE6542CAAB1",
"482B3AEF45C3731B205D7C5FE59E0CCA7542AAE9B447F46B4792B89F2F79E01E",
"c0aa25c4c16f297a262dbcfcac7bed95d2cb2dc39603eac10e5d79be50a562a3",
"68a49890f4469afebb24c28d2f1396f019607f3acc137963de0da789d93dc58f",
"f6081071fa95a6f49c049e9d2aed2d2a2632ec47635b4b497a97bab5f5add498"
"version": "8.0.0495",
"architecture": {
"32bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.0495/gvim_8.0.0495_x86.zip",
"hash": "0f06dfc6166daf0441423cefa9f57e2a910948328ba95cfe86e2881e7477c847"
},
"64bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.0495/gvim_8.0.0495_x64.zip",
"hash": "5a96e2818c554367432b036fbf5a4ff7857364f28bae6f4551a15aa7fb9e4bc4"
}
},
"extract_dir": "vim\\vim80",
"bin": [
"vim.exe",
"gvim.exe"
],
"extract_dir": [ "vim\\vim80", "vim\\vim80", "bin", "bin" ],
"bin": [ "vim.exe", "vimtutor.ps1" ],
"post_install": "mv -force \"$dir\\intl.dll\" \"$dir\\libintl.dll\"
if(!(test-path ~\\.vimrc)) {
"post_install": "if(!(test-path ~\\.vimrc)) {
cp \"$dir\\vimrc_example.vim\" ~\\.vimrc
\"set shell=$((gcm powershell).path)\\ -executionpolicy\\ bypass\" | out-file ~\\.vimrc -append -encoding ascii
echo '~/.vimrc was created with your shell set to Powershell.'
} else { echo '~/.vimrc exists, skipping' }",
"checkver": {
"url": "http://www.vim.org/download.php",
"re": "latest version \\(currently ([\\d.]+)\\)"
"github": "https://github.com/vim/vim-win32-installer"
},
"env_set": {
"VIM": "$dir"
},
"autoupdate": {
"architecture": {
"32bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x86.zip",
"extract_dir": "vim\\vim$majorVersion$minorVersion"
},
"64bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x64.zip",
"extract_dir": "vim\\vim$majorVersion$minorVersion"
}
}
},
"suggest": {
"vimtutor": "vimtutor"
}
}
11 changes: 11 additions & 0 deletions bucket/vimtutor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "3653063",
"license": "https://github.com/lukesampson/psutils/blob/master/LICENSE",
"url": "https://raw.github.com/lukesampson/psutils/3653063/vimtutor.ps1",
"homepage": "https://github.com/lukesampson/psutils",
"hash": "f6081071fa95a6f49c049e9d2aed2d2a2632ec47635b4b497a97bab5f5add498",
"bin": "vimtutor.ps1",
"suggests": {
"vim": "vim"
}
}

0 comments on commit e5e06d7

Please sign in to comment.