1 # Contributor: Markus M. May <mmay AT javafreedom DOT org>
2 pkgname=ruby-gitauth-git
5 pkgdesc="SSH-based authentication for Shared Git Repositories."
6 url="http://github.com/brownbeagle/gitauth"
9 depends=('ruby>=1.8.6')
12 conflicts=('ruby-gitauth')
13 provides=('ruby-gitauth')
14 options=(!strip !docs)
15 install=gitauth.install
19 _gitroot=git://github.com/brownbeagle/gitauth.git
25 msg "Connecting to github.com GIT server...."
27 if [ -d $srcdir/$_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
32 # clone git repository
37 msg "Installing submodules"
38 # initialize sub modules
42 msg "Installing files"
43 mkdir -p $pkgdir/opt/$_gitname
44 cp -r --preserve=all $srcdir/$_gitname $pkgdir/opt