only build 64-bit release templates by default

This commit is contained in:
acerix 2019-06-15 21:49:47 -04:00
parent cf79dab71f
commit f7fd5fcdea

View file

@ -11,12 +11,6 @@ license=('MIT')
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
makedepends=('git' 'scons' 'pulseaudio' 'clang' 'pkgconf') makedepends=('git' 'scons' 'pulseaudio' 'clang' 'pkgconf')
depends=('glu' 'libxcursor' 'libxinerama' 'alsa-lib' 'freetype2' 'mesa') depends=('glu' 'libxcursor' 'libxinerama' 'alsa-lib' 'freetype2' 'mesa')
_arch=''
if test "$CARCH" == x86_64; then
_arch=('64')
else
_arch=('32')
fi
source=( source=(
"git://github.com/godotengine/${_gitname}.git#branch=master" "git://github.com/godotengine/${_gitname}.git#branch=master"
@ -39,15 +33,15 @@ build() {
# 64 bit x11 client # 64 bit x11 client
scons platform=x11 tools=no target=release bits=64 CXX=clang++ -j$(nproc) scons platform=x11 tools=no target=release bits=64 CXX=clang++ -j$(nproc)
scons platform=x11 tools=no target=release_debug bits=64 CXX=clang++ -j$(nproc) #scons platform=x11 tools=no target=release_debug bits=64 CXX=clang++ -j$(nproc)
# 64 bit headless server # 64 bit headless server
scons platform=server tools=no target=release bits=64 CXX=clang++ -j$(nproc) scons platform=server tools=no target=release bits=64 CXX=clang++ -j$(nproc)
scons platform=server tools=no target=release_debug bits=64 CXX=clang++ -j$(nproc) #scons platform=server tools=no target=release_debug bits=64 CXX=clang++ -j$(nproc)
# 32 bit # 32 bit
scons platform=x11 tools=no target=release bits=32 CXX=clang++ -j$(nproc) #scons platform=x11 tools=no target=release bits=32 CXX=clang++ -j$(nproc)
scons platform=x11 tools=no target=release_debug bits=32 CXX=clang++ -j$(nproc) #scons platform=x11 tools=no target=release_debug bits=32 CXX=clang++ -j$(nproc)
} }
package() { package() {