1 # Maintainer: Arvid Norlander <anmaster A_T tele2 d_o_t (ccTLD for Sweden, which is se)>
2 # Contributor: Patrick McCarty <pnorcks at gmail dot com>
6 pkgdesc="A fast, file-based build system"
8 url="http://gittup.org/tup/index.html"
15 _gitroot="git://github.com/gittup/tup.git"
20 msg "Connecting to github.com..."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 cp -R "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 sh bootstrap.sh || return 1
40 cd "$srcdir/$_gitname-build"
42 install -d $pkgdir/usr/bin $pkgdir/usr/share/man/man1
43 install -m755 -t $pkgdir/usr/bin tup
44 install -m644 -t $pkgdir/usr/share/man/man1 tup.1
47 # vim:set ts=2 sw=2 et: