Updates for v4 from godot-git

This commit is contained in:
acerix 2020-07-01 19:17:55 -04:00
parent bedf3ad982
commit b5c4f5f735
2 changed files with 22 additions and 22 deletions

View file

@ -1,6 +1,6 @@
pkgbase = godot-export-templates-git pkgbase = godot-export-templates-git
pkgdesc = Godot export templates pkgdesc = Godot export templates
pkgver = 4.0.dev pkgver = 4.0.r29027.0a8dbe7f75
pkgrel = 1 pkgrel = 1
url = https://godotengine.org/ url = https://godotengine.org/
arch = i686 arch = i686
@ -11,7 +11,7 @@ pkgbase = godot-export-templates-git
makedepends = pulseaudio makedepends = pulseaudio
makedepends = clang makedepends = clang
makedepends = pkgconf makedepends = pkgconf
depends = godot optdepends = godot: use the templates
source = git://github.com/godotengine/godot.git#branch=master source = git://github.com/godotengine/godot.git#branch=master
sha256sums = SKIP sha256sums = SKIP

View file

@ -3,14 +3,14 @@
_pkgname=godot-export-templates _pkgname=godot-export-templates
pkgname=${_pkgname}-git pkgname=${_pkgname}-git
_gitname=godot _gitname=godot
pkgver=4.0.dev pkgver=4.0.r29027.0a8dbe7f75
pkgrel=1 pkgrel=1
pkgdesc='Godot export templates' pkgdesc='Godot export templates'
url='https://godotengine.org/' url='https://godotengine.org/'
license=('MIT') license=('MIT')
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
makedepends=('git' 'scons' 'pulseaudio' 'clang' 'pkgconf') makedepends=('git' 'scons' 'pulseaudio' 'clang' 'pkgconf')
depends=('godot') optdepends=('godot: use the templates')
source=( source=(
"git://github.com/godotengine/${_gitname}.git#branch=master" "git://github.com/godotengine/${_gitname}.git#branch=master"
@ -31,34 +31,34 @@ build() {
cd "${srcdir}"/${_gitname} cd "${srcdir}"/${_gitname}
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
# 64 bit x11 client # 64 bit client
scons platform=x11 tools=no target=release bits=64 CXX=clang++ -j$(nproc) scons platform=linuxbsd tools=no target=release bits=64 CXX=clang++ werror=no -j$(nproc)
scons platform=x11 tools=no target=release_debug bits=64 CXX=clang++ -j$(nproc) scons platform=linuxbsd tools=no target=release_debug bits=64 CXX=clang++ werror=no -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++ werror=no -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++ werror=no -j$(nproc)
# 32 bit x11 # 32 bit client
#scons platform=x11 tools=no target=release bits=32 CXX=clang++ -j$(nproc) #scons platform=linuxbsd tools=no target=release bits=32 CXX=clang++ werror=no -j$(nproc)
#scons platform=x11 tools=no target=release_debug bits=32 CXX=clang++ -j$(nproc) #scons platform=linuxbsd tools=no target=release_debug bits=32 CXX=clang++ werror=no -j$(nproc)
} }
package() { package() {
cd "${srcdir}"/${_gitname} cd "${srcdir}"/${_gitname}
mkdir -p "${pkgdir}"/usr/share/godot/templates/ mkdir -p "${pkgdir}"/usr/share/godot/templates/
# 64 bit x11 # 64 bit client
install -Dm644 bin/godot.x11.opt.64.llvm "${pkgdir}"/usr/share/godot/templates/ install -Dm644 bin/godot.linuxbsd.opt.64.llvm "${pkgdir}"/usr/share/godot/templates/
install -Dm644 bin/godot.x11.opt.debug.64.llvm "${pkgdir}"/usr/share/godot/templates/ install -Dm644 bin/godot.linuxbsd.opt.debug.64.llvm "${pkgdir}"/usr/share/godot/templates/
# 64 bit server # 64 bit server
#install -Dm644 bin/godot_server.x11.opt.64.llvm "${pkgdir}"/usr/share/godot/templates/ #install -Dm644 bin/godot_server.linuxbsd.opt.64.llvm "${pkgdir}"/usr/share/godot/templates/
#install -Dm644 bin/godot_server.x11.opt.debug.64.llvm "${pkgdir}"/usr/share/godot/templates/ #install -Dm644 bin/godot_server.linuxbsd.opt.debug.64.llvm "${pkgdir}"/usr/share/godot/templates/
# 32 bit x11 # 32 bit client
#install -Dm644 bin/godot.x11.opt.32.llvm "${pkgdir}"/usr/share/godot/templates/ #install -Dm644 bin/godot.linuxbsd.opt.32.llvm "${pkgdir}"/usr/share/godot/templates/
#install -Dm644 bin/godot.x11.opt.debug.32.llvm "${pkgdir}"/usr/share/godot/templates/ #install -Dm644 bin/godot.linuxbsd.opt.debug.32.llvm "${pkgdir}"/usr/share/godot/templates/
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${_pkgname}"/LICENSE install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${_pkgname}"/LICENSE
} }