changed build target to match new project structure
This commit is contained in:
parent
8f4ee79190
commit
861fe6d3cc
1 changed files with 5 additions and 4 deletions
9
PKGBUILD
9
PKGBUILD
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
_pkgname=godot
|
_pkgname=godot
|
||||||
pkgname=${_pkgname}-git
|
pkgname=${_pkgname}-git
|
||||||
pkgver=4.0.r1.4ba934b
|
pkgver=4.0.r1.e62f57f
|
||||||
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"
|
||||||
|
@ -14,7 +14,7 @@ license=('MIT')
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
makedepends=('gcc' 'git' 'scons' 'pkgconf' 'yasm')
|
makedepends=('gcc' 'git' 'scons' 'pkgconf' 'yasm')
|
||||||
depends=('alsa-lib' 'glu' 'libglvnd' 'libxcursor' 'libxinerama' 'libxi' 'libxrandr' 'mesa' 'pulseaudio')
|
depends=('alsa-lib' 'glu' 'libglvnd' 'libxcursor' 'libxinerama' 'libxi' 'libxrandr' 'mesa' 'pulseaudio')
|
||||||
optdepends=()
|
optdepends=('libspeechd: Text-to-Speech Support')
|
||||||
conflicts=("godot")
|
conflicts=("godot")
|
||||||
provides=("godot")
|
provides=("godot")
|
||||||
_arch=''
|
_arch=''
|
||||||
|
@ -55,7 +55,8 @@ pkgver() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}"/${_pkgname}
|
cd "${srcdir}"/${_pkgname}
|
||||||
scons platform=linuxbsd target=release_debug werror=no -j$((`nproc`+1))
|
# by default built using LTO, use `lto=none` to disable
|
||||||
|
scons platform=linuxbsd target=editor production=yes werror=no -j$((`nproc`+1))
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
@ -67,7 +68,7 @@ package() {
|
||||||
|
|
||||||
cd "${srcdir}"/${_pkgname}
|
cd "${srcdir}"/${_pkgname}
|
||||||
|
|
||||||
install -D -m755 bin/godot.linuxbsd.opt.tools.${_arch} "${pkgdir}"/usr/bin/godot
|
install -D -m755 bin/godot.linuxbsd.editor.${_arch} "${pkgdir}"/usr/bin/godot
|
||||||
install -D -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/godot-git/LICENSE
|
install -D -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/godot-git/LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue