1 # Contributor: Guten <ywzhaifei@gmail.com>
4 pkgver=20110804 # svn auto added
6 pkgdesc="zcm is a ZSH Configuration Manager"
8 url="http://zcm.heroku.com"
9 license=("MIT-LICENSE")
24 _gitroot="git://github.com/zcm/zcm.git"
29 msg "Connecting to GIT server...."
31 if [ -d ${_gitname}/.git ] ; then
34 # Change remote url to anongit
35 if [ -z $( git branch -v | grep anongit ) ] ; then
36 git remote set-url origin ${_gitroot}
40 msg "The local files are updated."
42 git clone ${_gitroot} ${_gitname}
44 msg "GIT checkout done or server timeout"
46 # msg "Starting make..."
51 cd ${srcdir}/${_gitname}
56 mkdir -p $pkgdir/usr/bin/
57 cp bin/zcm $pkgdir/usr/bin/
61 # vim:set ts=2 sw=2 et: