summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 93f9e84d4fe94969047bcb79477ce34124662224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Joseph Dalrymple <joseph.dalrymple@bluelogicteam.com>
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: loqs
# Contributor: Jorge Araya Navarro <jorgejavieran@yahoo.com.mx>
# Contributor: Cristian Porras <porrascristian@gmail.com>
# Contributor: Matthew Bentley <matthew@mtbentley.us>
# Contributor: HurricanePootis <hurricanepootis@protonmail.com>
# Contributor: Toolybird <toolybird at tuta dot io>

pkgbase=godot-double-bin
pkgname=(godot-double-bin godot-double-mono-bin)
pkgver=4.7.2
pkgrel=2
pkgdesc='Advanced cross-platform 2D and 3D game engine (double-precision build)'
arch=('x86_64' )
url="https://godotengine.org/"
license=('MIT' )
depends=('brotli' 'ca-certificates' 'embree' 'freetype2' 'graphite' 'libglvnd' 'libspeechd' 'libsquish' 'libtheora' 'libvorbis' 'libwebp' 'libwslay' 'libxcursor' 'libxi' 'libxinerama' 'libxrandr' 'miniupnpc' 'openxr' 'pcre2' )
optdepends=('pipewire-alsa: for audio support' 'pulse-native-provider: for audio support' )
source=("godot-double-4.7.2-2-x86_64.pkg.tar.zst::https://github.com/Norpyx-Godot/godot-double/releases/download/v4.7.2-2/godot-double-4.7.2-2-x86_64.pkg.tar.zst"
        "godot-double-mono-4.7.2-2-x86_64.pkg.tar.zst::https://github.com/Norpyx-Godot/godot-double/releases/download/v4.7.2-2/godot-double-mono-4.7.2-2-x86_64.pkg.tar.zst")
noextract=("godot-double-4.7.2-2-x86_64.pkg.tar.zst" "godot-double-mono-4.7.2-2-x86_64.pkg.tar.zst")
sha256sums=('af8ca61728c4b7a85da177f6593f84c0feed064ae63002bbac83a7adb96d0fc2'
            '9bd0e77665214155ba6252922f878d3c26f9ab013d763558e11bc878d5be3df4')

package_godot-double-bin() {
	provides=("godot-double")
	conflicts=("godot-double")
	bsdtar -xf "${srcdir}/godot-double-4.7.2-2-x86_64.pkg.tar.zst" -C "${pkgdir}" --strip-components=0 usr
}

package_godot-double-mono-bin() {
	provides=("godot-double-mono")
	conflicts=("godot-double-mono")
	depends+=(dotnet-sdk-8.0)
	bsdtar -xf "${srcdir}/godot-double-mono-4.7.2-2-x86_64.pkg.tar.zst" -C "${pkgdir}" --strip-components=0 usr
}