Skip to content

Commit

Permalink
add: godot-bin (#6832)
Browse files Browse the repository at this point in the history
  • Loading branch information
villamorrd authored Jan 9, 2025
1 parent e59da05 commit f6b764f
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ gnome-shell-extension-installer-git
gnome-tweaks
go-bin
go-task-deb
godot-bin
goldberg-emulator-git
gomuks-deb
goneovim-bin
Expand Down
26 changes: 26 additions & 0 deletions packages/godot-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
pkgbase = godot-bin
gives = godot
pkgver = 4.3
pkgdesc = Multi-platform 2D and 3D game engine
url = https://godotengine.org/
arch = amd64
arch = arm64
conflicts = godot-mono-bin
conflicts = godot-git
license = MIT
maintainer = villamorrd <[email protected]>
repology = project: godot
source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.desktop
source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.xml
source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/icon.svg
source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/godot.6
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = 7de56444b130b10af84d19c7e0cf63cf9e9937ee4ba94364c3b7dd114253ca21
sha256sums = baaf0b753b86ef52e10c11cc7f65c0bc4696ec793ee052ea88360b31ef5462a2
source_amd64 = https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_linux.x86_64.zip
source_arm64 = https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_linux.arm64.zip

pkgname = godot-bin
39 changes: 39 additions & 0 deletions packages/godot-bin/godot-bin.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
pkgname="godot-bin"
repology=("project: godot")
arch=('amd64' 'arm64')
pkgver="4.3"
url='https://godotengine.org/'
source=(
"https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.desktop"
"https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.xml"
"https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/icon.svg"
"https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/godot.6"
)
source_amd64=("https://github.com/godotengine/godot/releases/download/${pkgver}-stable/Godot_v${pkgver}-stable_linux.x86_64.zip")
source_arm64=("https://github.com/godotengine/godot/releases/download/${pkgver}-stable/Godot_v${pkgver}-stable_linux.arm64.zip")
sha256sums=(
'SKIP'
'SKIP'
'SKIP'
'SKIP'
"7de56444b130b10af84d19c7e0cf63cf9e9937ee4ba94364c3b7dd114253ca21"
"baaf0b753b86ef52e10c11cc7f65c0bc4696ec793ee052ea88360b31ef5462a2"
)
conflicts=("godot-mono-bin" "godot-git")
gives="godot"
pkgdesc="Multi-platform 2D and 3D game engine"
maintainer=("villamorrd <[email protected]>")
license=('MIT')

package() {
# Rename the binary
for bin in Godot*; do
mv "${bin}" godot
done

install -Dm755 "godot" -t "${pkgdir}/usr/bin/"
install -Dm644 "icon.svg" "${pkgdir}/usr/share/pixmaps/${gives}.svg"
install -Dm644 "org.godotengine.Godot.desktop" "${pkgdir}/usr/share/applications/godot.desktop"
install -Dm644 "org.godotengine.Godot.xml" "${pkgdir}/usr/share/mime/packages/godot.xml"
install -Dm644 "godot.6" "${pkgdir}/usr/share/man/man6/godot.6"
}
27 changes: 27 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -3634,6 +3634,33 @@ pkgbase = go-task-deb

pkgname = go-task-deb
---
pkgbase = godot-bin
gives = godot
pkgver = 4.3
pkgdesc = Multi-platform 2D and 3D game engine
url = https://godotengine.org/
arch = amd64
arch = arm64
conflicts = godot-mono-bin
conflicts = godot-git
license = MIT
maintainer = villamorrd <[email protected]>
repology = project: godot
source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.desktop
source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/org.godotengine.Godot.xml
source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/icon.svg
source = https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/misc/dist/linux/godot.6
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = 7de56444b130b10af84d19c7e0cf63cf9e9937ee4ba94364c3b7dd114253ca21
sha256sums = baaf0b753b86ef52e10c11cc7f65c0bc4696ec793ee052ea88360b31ef5462a2
source_amd64 = https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_linux.x86_64.zip
source_arm64 = https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_linux.arm64.zip

pkgname = godot-bin
---
pkgbase = goldberg-emulator-git
gives = goldberg-emulator
pkgver = 0.2.5
Expand Down

0 comments on commit f6b764f

Please sign in to comment.