update to latest godot, thank you segesdi
This commit is contained in:
parent
42b61538a3
commit
8f4ee79190
2 changed files with 16 additions and 16 deletions
15
.SRCINFO
15
.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
|
||||
|
||||
|
|
17
PKGBUILD
17
PKGBUILD
|
@ -1,24 +1,25 @@
|
|||
# Maintainer: tas <tasgon_@out/look.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: Matthew Bentley <matthew@mtbentley.us>
|
||||
|
||||
_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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue