4 pkgdesc="Tiny C Compiler - small, simple, and fast single-pass C compiler"
6 url="http://bellard.org/tcc/"
8 makedepends=('git' 'texi2html')
12 _gitroot="git://repo.or.cz/tinycc.git"
19 msg "Connecting to GIT server..."
20 if [ -d "$srcdir/$_gitname" ] ; then
21 git --git-dir=$_gitname/.git pull origin
25 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
28 rm -rf $_gitname-build
29 cp -r $_gitname $_gitname-build
31 sed -i 's/CONFIG_TCCDIR \\\"\$tccdir\\\"/CONFIG_TCCDIR \\\"\/usr\/lib\/tcc\\\"/' configure || return 1
32 ./configure --prefix="$pkgdir/usr" || return 1
34 make install || return 1