updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / teamgit-git / PKGBUILD
blobc9265f5d8e279dd71be0c00a981a8dc62cff24e3
1 # Contributor: supern lee <supern.lee@gmail.com>
2 pkgname=teamgit-git
3 pkgver=20100412
4 pkgrel=1
5 pkgdesc="a visual git client tool"
6 arch=('any')
7 url="http://www.devslashzero.com/teamgit"
8 license=('GPL2')
9 depends=( 'qt>=4.4')
10 makedepends=('git')
11 provides=('teamgit')
12 conflicts=('teamgit' 'teamgit-git')
13 source=()
14 md5sums=()
16 _gitroot="git://gitorious.org/teamgit/mainline.git"
17 _gitname="teamgit"
20 build() {
21   cd ${srcdir}
22   msg "Connecting to GIT server...."
24   if [ -d "${srcdir}/${_gitname}" ] ; then
25     cd ${_gitname} && git pull --rebase
26   else
27     git clone ${_gitroot} ${_gitname}
28     cd ${_gitname}
29   fi
30   
31   msg "GIT checkout done or server timeout"
33   qmake || return 1
34   make || return 1
35   make DESTDIR=${pkgdir} install || return 1