1 # Maintainer: Curtis McEnroe <programble@gmail.com>
5 pkgdesc="GIT utilities -- repo summary, repl, changelog population, author commit percentages and more"
7 url="https://github.com/visionmedia/git-extras"
12 _gitroot="git://github.com/visionmedia/git-extras.git"
17 msg "Connecting to GIT server...."
19 if [[ -d "$_gitname" ]]; then
20 cd "$_gitname" && git pull origin
21 msg "The local files are updated."
23 git clone "$_gitroot" "$_gitname"
26 msg "GIT checkout done or server timeout"
27 msg "Starting build..."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
36 make PREFIX="$pkgdir/usr" install
39 # vim:set ts=2 sw=2 et: