1 # Maintainer: James McGlashan <james[at]jamesm[dot]com[dot]au>
3 pkgname=oh-my-zsh-extra-git
6 pkgdesc="40+ plugins for omz on the aur."
8 url="http://github.com/jamesm-sitegen/oh-my-zsh-extra"
10 depends=('oh-my-zsh-git')
14 _gitdomain='github.com'
15 _gituser='archeydevil'
16 _gitname='oh-my-zsh-extra'
17 _gitroot="https://$_gitdomain/$_gituser/$_gitname.git"
21 msg "Connecting to GIT server.... [$_gitdomain:$_gituser:$_gitname]"
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone --depth=1 $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
32 install -d "$pkgdir/usr/share/oh-my-zsh"
33 cp -r oh-my-zsh-extra/* "$pkgdir/usr/share/oh-my-zsh"
36 # vim:set ts=2 sw=2 et: