2 # Contributor: Will Chappell <mr.chapendi@gmail.com>
6 pkgdesc="Symbolic manipulation for C++"
8 url="http://www.ginac.de/"
15 _gitroot="git://www.ginac.de/ginac.git"
20 msg "Connecting to the $pkgname git repository."
22 if [ -d "$srcdir/$_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..."
34 rm -rf "$_gitname"-build
35 git clone "$_gitname" "$_gitname"-build
39 libtoolize || return 1
40 autoheader || return 1
41 automake --add-missing || return 1
43 ./configure --prefix=/usr || return 1
46 make DESTDIR="$startdir/pkg" install