1 # Contributor: Jon Sturm <jonimoose@gmail.com>
5 pkgdesc="a cross platfrom z80 assembler aimed at development for TI Graphing Calculators"
7 url="http://revsoft.org"
10 makedepends=('subversion')
12 _svntrunk=https://wabbit.svn.codeplex.com/svn/Wabbitstudio/Source/SPASM/
16 #the default system LDFLAGs break things so unset them.
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_svnmod-build"
30 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31 cd "$srcdir/$_svnmod-build"
37 mkdir -p $pkgdir/usr/bin
38 install -m 755 $srcdir/$_svnmod-build/spasm $pkgdir/usr/bin/spasm