Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: onefire <onefire.myself@gmail.com>
- pkgname=julia-vim-git
- pkgver=20130708
- pkgrel=1
- pkgdesc="Vim support for the Julia language."
- arch=('any')
- url="https://github.com/JuliaLang/julia-vim"
- depends=('vim')
- optdepends=('julia')
- provides=('julia-vim')
- license=('custom')
- _gitroot=git://github.com/JuliaLang/julia-vim.git
- _gitname=julia-vim
- build() {
- cd "${srcdir}"
- msg "Connecting to GIT server...."
- if [[ -d "$_gitname" ]]; then
- cd "$_gitname" && git pull origin
- msg "The local files are updated."
- else
- git clone "$_gitroot" "$_gitname"
- fi
- msg "GIT checkout done or server timeout"
- }
- package() {
- cd "${srcdir}"/"${_gitname}"
- for i in ftdetect ftplugin indent syntax
- do
- install -dm 755 "${pkgdir}"/usr/share/vim/vimfiles/$i
- install -m 755 $i/julia.vim "${pkgdir}"/usr/share/vim/vimfiles/$i/julia.vim
- done
- install -dm 755 "${pkgdir}"/usr/share/vim/vimfiles/autoload
- for i in generate_latex_symbols_table.jl julia_latex_symbols.vim LaTeXtoUnicode.vim
- do
- install -m 755 autoload/$i "${pkgdir}"/usr/share/vim/vimfiles/autoload/$i
- done
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement