1 # Maintainer: res <andres87p gmail>
5 pkgdesc='Go compiler using the gcc backend'
9 makedepends=(subversion)
12 _svnmod=${pkgname%-svn}
13 _svntrunk=svn://gcc.gnu.org/svn/gcc/branches/$_svnmod
16 if [[ -d $_svnmod/.svn ]]; then
17 (cd $_svnmod; svn up -r $pkgver)
19 svn co $_svntrunk --config-dir . -r $pkgver $_svnmod
22 msg 'SVN checkout done or server timeout'
23 msg 'Starting make...'
29 ../$_svnmod/configure --enable-languages=c,c++,go \
30 --mandir=/usr/share/man \
32 --infodir=/usr/share/info #\
33 #--with-ld=/usr/bin/gold
35 make DESTDIR=$pkgdir install