1 # Maintainer: mjheagle <mjheagle8@gmail.com>
2 pkgname=zsh-syntax-highlighting-git
5 pkgdesc="Fish shell like syntax highlighting for Zsh"
6 url="https://github.com/zsh-users/zsh-syntax-highlighting"
11 install='zsh-syntax-highlighting.install'
13 _giturl="git://github.com/zsh-users/zsh-syntax-highlighting.git"
14 _gitname="zsh-syntax-highlight"
18 msg "Connecting to GIT server..."
19 if [ -d ${_gitname} ]; then
23 git clone ${_giturl} ${_gitname} --depth=1
25 msg "GIT checkout done or server timeout"
29 cd "${srcdir}/${_gitname}"
30 mkdir -p "${pkgdir}/usr/share/zsh/plugins/zsh-syntax-highlight"
31 cp -R ./ "${pkgdir}/usr/share/zsh/plugins/zsh-syntax-highlight"
32 cd "${pkgdir}/usr/share/zsh/plugins/zsh-syntax-highlight"