1 # Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
5 pkgdesc="A customized bash shell suitable for git work."
7 url="http://github.com/rtomayko/git-sh/tree/master"
11 md5sums=() #generate with 'makepkg -g'
13 _gitroot="git://github.com/rtomayko/git-sh.git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
38 make DESTDIR=$pkgdir PREFIX='$(DESTDIR)/usr/' install