update to latest godot, thank you segesdi

This commit is contained in:
tasgon 2022-09-17 01:06:04 -07:00
parent 42b61538a3
commit 8f4ee79190
2 changed files with 16 additions and 16 deletions

View file

@ -1,23 +1,25 @@
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.r1.4ba934b
pkgrel = 3 pkgrel = 1
url = http://www.godotengine.org url = http://www.godotengine.org
arch = i686 arch = i686
arch = x86_64 arch = x86_64
license = MIT license = MIT
makedepends = gcc
makedepends = git makedepends = git
makedepends = scons makedepends = scons
makedepends = pulseaudio
makedepends = pkgconf makedepends = pkgconf
makedepends = xorg-xrandr
makedepends = yasm makedepends = yasm
depends = alsa-lib
depends = glu depends = glu
depends = libglvnd
depends = libxcursor depends = libxcursor
depends = libxinerama depends = libxinerama
depends = alsa-lib depends = libxi
depends = freetype2 depends = libxrandr
depends = mesa depends = mesa
depends = pulseaudio
provides = godot provides = godot
conflicts = godot conflicts = godot
source = godot.desktop source = godot.desktop
@ -26,4 +28,3 @@ pkgbase = godot-git
sha256sums = 99f9d17c4355b274ef0c08069cf6e756a98cd5c9d9d22d1b39f79538134277e1 sha256sums = 99f9d17c4355b274ef0c08069cf6e756a98cd5c9d9d22d1b39f79538134277e1
pkgname = godot-git pkgname = godot-git

View file

@ -1,24 +1,25 @@
# Maintainer: tas <tasgon_@out/look.com> # Maintainer: tas <tasgon_@out/look.com>
# Maintainer: QuantMint <qua/ntmint@/protonm/ail.com> # Maintainer: QuantMint <qua/ntmint@/protonm/ail.com>
# Contributor: Daniel Segesdi <sege/sdi.d/ani@/gma/il.com>
# Contributor: Cristian Porras <porrascristian@gmail.com> # Contributor: Cristian Porras <porrascristian@gmail.com>
# Contributor: Matthew Bentley <matthew@mtbentley.us> # Contributor: Matthew Bentley <matthew@mtbentley.us>
_pkgname=godot _pkgname=godot
pkgname=${_pkgname}-git pkgname=${_pkgname}-git
pkgver=4.0.r1.64faa37 pkgver=4.0.r1.4ba934b
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"
license=('MIT') license=('MIT')
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
makedepends=('git' 'scons' 'pulseaudio' 'pkgconf' 'xorg-xrandr' 'yasm') makedepends=('gcc' 'git' 'scons' 'pkgconf' 'yasm')
depends=('glu' 'libxcursor' 'libxinerama' 'alsa-lib' 'freetype2' 'mesa') depends=('alsa-lib' 'glu' 'libglvnd' 'libxcursor' 'libxinerama' 'libxi' 'libxrandr' 'mesa' 'pulseaudio')
optdepends=() optdepends=()
conflicts=("godot") conflicts=("godot")
provides=("godot") provides=("godot")
_arch='' _arch=''
if test "$CARCH" == x86_64; then if test "$CARCH" == x86_64; then
_arch=('64') _arch=('x86_64')
else else
_arch=('32') _arch=('32')
fi fi
@ -50,12 +51,10 @@ pkgver() {
_minor=$(cat version.py|grep "minor" | sed 's/minor = //') _minor=$(cat version.py|grep "minor" | sed 's/minor = //')
_revision=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)") _revision=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)")
echo "${_major}.${_minor}.${_revision}" echo "${_major}.${_minor}.${_revision}"
} }
build() { build() {
cd "${srcdir}"/${_pkgname} cd "${srcdir}"/${_pkgname}
sed -n '/\/* Copyright/,/IN THE SOFTWARE./p' main/main.cpp | sed 's/\/\*//' | sed 's/\*\///' > LICENSE
scons platform=linuxbsd target=release_debug werror=no -j$((`nproc`+1)) scons platform=linuxbsd target=release_debug werror=no -j$((`nproc`+1))
} }
@ -69,6 +68,6 @@ 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.opt.tools.${_arch} "${pkgdir}"/usr/bin/godot
install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/godot-git/LICENSE install -D -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/godot-git/LICENSE
} }