void-packages/srcpkgs/vim-colorschemes/template

20 lines
600 B
Bash

# Template file for 'vim-colorschemes'
pkgname=vim-colorschemes
version=20141029
revision=1
build_style=fetch
noarch=yes
short_desc="Vim colorschemes"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-3"
homepage="https://github.com/flazz/vim-colorschemes"
_commit=81c6dd7ce3169e5ad9ba92422ba6e1ce5b074e36
distfiles="https://github.com/flazz/vim-colorschemes/archive/${_commit}.tar.gz"
checksum=e66642dc5b7ac3ca0f5b444707f23a908fa37505a4784b3764c45bf6877106a1
do_install() {
tar xzf ${_commit}.tar.gz
vmkdir usr/share/vim/vimfiles
vcopy ${pkgname}-${_commit}/colors usr/share/vim/vimfiles/
}