add -j4 to build()

This commit is contained in:
Cristian Porras 2016-12-20 10:36:21 -03:00
parent 99f49e7c4a
commit 9292ca48a5
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgbase = godot-git pkgbase = godot-git
pkgdesc = Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine. pkgdesc = Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine.
pkgver = 2.1.r3700.564ba76 pkgver = 2.2.r6022.2c8a172
pkgrel = 1 pkgrel = 1
url = http://www.godotengine.org url = http://www.godotengine.org
arch = i686 arch = i686
@ -9,6 +9,7 @@ pkgbase = godot-git
makedepends = git makedepends = git
makedepends = scons makedepends = scons
makedepends = pulseaudio makedepends = pulseaudio
makedepends = clang
depends = glu depends = glu
depends = libxcursor depends = libxcursor
depends = libxinerama depends = libxinerama

View file

@ -3,7 +3,7 @@
_pkgname=godot _pkgname=godot
pkgname=${_pkgname}-git pkgname=${_pkgname}-git
pkgver=2.2.r5989.ab637bc pkgver=2.2.r6022.2c8a172
pkgrel=1 pkgrel=1
pkgdesc="Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine." pkgdesc="Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine."
url="http://www.godotengine.org" url="http://www.godotengine.org"
@ -47,7 +47,7 @@ build() {
sed -n '/\/* Copyright/,/IN THE SOFTWARE./p' main/main.cpp | sed 's/\/\*//' | sed 's/\*\///' > LICENSE sed -n '/\/* Copyright/,/IN THE SOFTWARE./p' main/main.cpp | sed 's/\/\*//' | sed 's/\*\///' > LICENSE
scons platform=x11 target=release_debug CXX=clang++ scons platform=x11 target=release_debug CXX=clang++ -j$(nproc)
} }
package() { package() {