Fixed build

This commit is contained in:
QuantMint 2020-06-18 10:56:09 +02:00
parent a483ca5243
commit fe43be6ef6
2 changed files with 4 additions and 5 deletions

View file

@ -1,7 +1,7 @@
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 = 4.0.dev pkgver = 4.0.dev
pkgrel = 2 pkgrel = 3
url = http://www.godotengine.org url = http://www.godotengine.org
arch = i686 arch = i686
arch = x86_64 arch = x86_64
@ -9,7 +9,6 @@ pkgbase = godot-git
makedepends = git makedepends = git
makedepends = scons makedepends = scons
makedepends = pulseaudio makedepends = pulseaudio
makedepends = gcc
makedepends = pkgconf makedepends = pkgconf
makedepends = xorg-xrandr makedepends = xorg-xrandr
makedepends = yasm makedepends = yasm

View file

@ -5,12 +5,12 @@
_pkgname=godot _pkgname=godot
pkgname=${_pkgname}-git pkgname=${_pkgname}-git
pkgver=4.0.dev pkgver=4.0.dev
pkgrel=2 pkgrel=3
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"
license=('MIT') license=('MIT')
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
makedepends=('git' 'scons' 'pulseaudio' 'gcc' 'pkgconf' 'xorg-xrandr' 'yasm') makedepends=('git' 'scons' 'pulseaudio' 'pkgconf' 'xorg-xrandr' 'yasm')
depends=('glu' 'libxcursor' 'libxinerama' 'alsa-lib' 'freetype2' 'mesa') depends=('glu' 'libxcursor' 'libxinerama' 'alsa-lib' 'freetype2' 'mesa')
optdepends=() optdepends=()
conflicts=("godot") conflicts=("godot")
@ -55,7 +55,7 @@ pkgver() {
build() { build() {
cd "${srcdir}"/${_pkgname} cd "${srcdir}"/${_pkgname}
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=linuxbsd target=release_debug -j$((`nproc`+1)) scons platform=linuxbsd target=release_debug werror=no -j$((`nproc`+1))
} }
package() { package() {