1 # Contributor: Imanol Celaya <ilcra1989@gmail.com>
6 pkgdesc="TenDRA C Compiler"
7 arch=('i686') # doesn't work on x86_64
8 url="http://www.tendra.org/"
9 license=('BSD' 'custom')
10 makedepends=(bmake andfutils-svn)
11 install=tendra.install
13 md5sums=('e5363c3cc19739fc080b5576e7a620fe')
15 _svntrunk=http://svn.tendra.org/trunk
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 rm -r $srcdir/$_svnmod-build
31 cp -r $_svnmod $_svnmod-build
32 cd $_svnmod-build/tendra
37 PREFIX=$pkgdir/opt/tendra ./makedefs || return 1
38 bmake -DBOOTSTRAP || return 1
40 bmake install || return 1
41 install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/tendra-svn/license