1 # Maintainer: Ramana Kumar <first dot last at gmail dot com>
5 pkgdesc="Poly/ML implementation of Standard ML"
6 url="http://www.polyml.org"
10 makedepends=("make" "svn" "gcc")
17 _svntrunk=https://polyml.svn.sourceforge.net/svnroot/polyml/trunk
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_svnmod-build"
32 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build"
36 ./configure --prefix=/usr
38 make compiler || return 1
39 make compiler || return 1
40 make DESTDIR=$pkgdir install