Last active
January 24, 2020 10:28
-
-
Save underdoeg/c3dd8ade0eb0ebdf59d3897a79b50b72 to your computer and use it in GitHub Desktop.
godot 3.2 beta PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=Godot Beta | |
Comment=Application for making games | |
Exec=/usr/bin/godot-beta %U | |
Icon=godot | |
Terminal=false | |
Type=Application | |
Categories=Utility;Game; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Ivan Fonseca <ivanfon@riseup.net> | |
# Modified by: Philip Whitfield <public@underdoeg.com> | |
pkgname=godot-beta-bin | |
pkgver=3.2_rc3 | |
pkgrel=1 | |
pkgdesc="The latest official beta release of the Godot game engine" | |
url="https://godotengine.org" | |
license=("MIT") | |
arch=("i686" "x86_64") | |
provides=("godot-beta-bin") | |
source=("godot-beta.desktop") | |
source_i686+=("https://downloads.tuxfamily.org/godotengine/3.2/rc3/Godot_v3.2-rc3_x11.32.zip") | |
source_x86_64+=("https://downloads.tuxfamily.org/godotengine/3.2/rc3/Godot_v3.2-rc3_x11.64.zip") | |
sha256sums=('SKIP') | |
sha256sums_i686=('SKIP') | |
sha256sums_x86_64=('SKIP') | |
package() { | |
mkdir -p "$pkgdir/opt/$pkgname" | |
mkdir -p "$pkgdir/usr/bin" | |
mkdir -p "$pkgdir/usr/share/applications" | |
case $CARCH in | |
"i686") | |
cp "$srcdir/Godot_v3.2-rc3_x11.32" "$pkgdir/opt/$pkgname/godot-beta" | |
;; | |
"x86_64") | |
cp "$srcdir/Godot_v3.2-rc3_x11.64" "$pkgdir/opt/$pkgname/godot-beta" | |
;; | |
esac | |
cp "$srcdir/godot-beta.desktop" "$pkgdir/usr/share/applications/godot-beta.desktop" | |
chmod +x "$pkgdir/opt/$pkgname/godot-beta" | |
ln -s "/opt/$pkgname/godot-beta" "$pkgdir/usr/bin/godot-beta" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment