1 # Contributor: Mikko Sysikaski mikko.sysikaski at gmail dot com
6 pkgdesc="Pure is a modern-style functional programming language based on term rewriting."
9 url="http://code.google.com/p/pure-lang"
10 depends=('llvm' 'gsl' 'gmp' 'readline')
11 makedepends=('make' 'gcc' 'bison' 'flex' 'subversion')
17 _svntrunk=http://pure-lang.googlecode.com/svn/trunk/pure
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
32 cp -r $_svnmod $_svnmod-build
35 ./configure --prefix=/usr
37 make DESTDIR=$startdir/pkg install || return 1