From 8f4ee791904becd5b4b73d2d2ad26c6cb3b8075d Mon Sep 17 00:00:00 2001 From: tasgon Date: Sat, 17 Sep 2022 01:06:04 -0700 Subject: [PATCH] update to latest godot, thank you segesdi --- .SRCINFO | 15 ++++++++------- PKGBUILD | 17 ++++++++--------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 8656fc4..f5ab014 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,23 +1,25 @@ pkgbase = godot-git pkgdesc = Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine. - pkgver = 4.0.dev - pkgrel = 3 + pkgver = 4.0.r1.4ba934b + pkgrel = 1 url = http://www.godotengine.org arch = i686 arch = x86_64 license = MIT + makedepends = gcc makedepends = git makedepends = scons - makedepends = pulseaudio makedepends = pkgconf - makedepends = xorg-xrandr makedepends = yasm + depends = alsa-lib depends = glu + depends = libglvnd depends = libxcursor depends = libxinerama - depends = alsa-lib - depends = freetype2 + depends = libxi + depends = libxrandr depends = mesa + depends = pulseaudio provides = godot conflicts = godot source = godot.desktop @@ -26,4 +28,3 @@ pkgbase = godot-git sha256sums = 99f9d17c4355b274ef0c08069cf6e756a98cd5c9d9d22d1b39f79538134277e1 pkgname = godot-git - diff --git a/PKGBUILD b/PKGBUILD index fdaa527..2bf1778 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,24 +1,25 @@ # Maintainer: tas # Maintainer: QuantMint +# Contributor: Daniel Segesdi # Contributor: Cristian Porras # Contributor: Matthew Bentley _pkgname=godot pkgname=${_pkgname}-git -pkgver=4.0.r1.64faa37 +pkgver=4.0.r1.4ba934b pkgrel=1 pkgdesc="Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine." url="http://www.godotengine.org" license=('MIT') arch=('i686' 'x86_64') -makedepends=('git' 'scons' 'pulseaudio' 'pkgconf' 'xorg-xrandr' 'yasm') -depends=('glu' 'libxcursor' 'libxinerama' 'alsa-lib' 'freetype2' 'mesa') +makedepends=('gcc' 'git' 'scons' 'pkgconf' 'yasm') +depends=('alsa-lib' 'glu' 'libglvnd' 'libxcursor' 'libxinerama' 'libxi' 'libxrandr' 'mesa' 'pulseaudio') optdepends=() conflicts=("godot") provides=("godot") _arch='' if test "$CARCH" == x86_64; then - _arch=('64') + _arch=('x86_64') else _arch=('32') fi @@ -50,25 +51,23 @@ pkgver() { _minor=$(cat version.py|grep "minor" | sed 's/minor = //') _revision=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)") echo "${_major}.${_minor}.${_revision}" - } build() { 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)) } package() { - cd "${srcdir}" + cd "${srcdir}" install -Dm644 godot.desktop "${pkgdir}"/usr/share/applications/godot.desktop install -Dm644 icon.png "${pkgdir}"/usr/share/pixmaps/godot.png - + cd "${srcdir}"/${_pkgname} 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 }