1 # Maintainer: Evan Hanson <evhan@thunktastic.com>
5 pkgdesc="A compiler for R5RS scheme, featuring handy extensions (git version)"
7 url="http://www.call-cc.org"
10 makedepends=('git' 'chicken')
13 _gitroot="git://code.call-cc.org/chicken-core"
18 msg "Connecting to GIT server..."
20 if [ -d $srcdir/$_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 build..."
30 rm -rf "$srcdir/build"
31 cp -r "$srcdir/$_gitname" "$srcdir/build"
34 make PLATFORM=linux PREFIX=/usr || return 1
40 make PLATFORM=linux PREFIX=/usr DESTDIR=$pkgdir install || return 1