blob: 6f816acd318439e002a26809e91f1dcb3405e623 (
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
|
pkgname=godot-beta-bin
pkgver=4.5beta4
pkgrel=1
pkgdesc="Godot Engine Beta - Prebuilt binary from GitHub"
arch=('x86_64')
url="https://godotengine.org"
license=('MIT')
depends=('glibc')
source=("https://github.com/godotengine/godot-builds/releases/download/4.5-beta4/Godot_v4.5-beta4_linux.x86_64.zip"
"godot-beta.desktop")
sha256sums=('SKIP' # or actual checksum for the zip
'SKIP') # or actual checksum for the desktop file
package() {
install -dm755 "$pkgdir/opt/godot-beta"
bsdtar -xf Godot_v4.5-beta4_linux.x86_64.zip -C "$pkgdir/opt/godot-beta"
# Symlink to /usr/bin for convenience
install -dm755 "$pkgdir/usr/bin"
ln -s /opt/godot-beta/Godot_v4.5-beta4_linux.x86_64 "$pkgdir/usr/bin/godot-beta"
# Install desktop entry
install -Dm644 "$srcdir/godot-beta.desktop" "$pkgdir/usr/share/applications/godot-beta.desktop"
}
|