1 # Maintainer: Alexandre Leray <alex @ stdin dot fr>
5 pkgdesc="Gits - The git slave repository tool for super-project multi-repository management"
7 url="http://gitslave.sourceforge.net"
9 depends=('perl>=5', 'git')
13 _gitroot="git://gitslave.git.sourceforge.net/gitroot/gitslave/gitslave"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
39 make DESTDIR="${pkgdir}/" install
40 install -D -m644 LICENSE.TXT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"