Created
November 27, 2019 07:41
-
-
Save tamamu/a95ed9e1ee5ece431aa4b101433f7059 to your computer and use it in GitHub Desktop.
Godot_v3.2_beta2 for ArchLinux
This file contains hidden or 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 | |
Comment=Application for making games | |
Exec=/usr/bin/godot-beta %U | |
Icon=godot | |
Terminal=false | |
Type=Application | |
Categories=Utility;Game; |
This file contains hidden or 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: Eddie <tamamu dot 1r1s at gmail dot com> | |
# Contributor: Ivan Fonseca <[email protected]> | |
pkgname=godot-beta-bin | |
pkgver=3.2_beta2 | |
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/beta2/Godot_v3.2-beta2_x11.32.zip") | |
source_x86_64+=("https://downloads.tuxfamily.org/godotengine/3.2/beta2/Godot_v3.2-beta2_x11.64.zip") | |
sha256sums=('53912a2e312559455045e8e83f6e239a2cbc6f891ebb393f441c772063bb9497') | |
sha256sums_i686=('77d899e2865fef4c930e512eebfb95a0a24526bba1d4129e354b2ec6b426f08e') | |
sha256sums_x86_64=('0d9b0807484bd39a11276e1101be12545d0d5acb6da9380584c88ed12d26a172') | |
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-beta2_x11.32" "$pkgdir/opt/$pkgname/godot-beta" | |
;; | |
"x86_64") | |
cp "$srcdir/Godot_v3.2-beta2_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