Last active
August 29, 2015 14:18
-
-
Save impiaaa/8b0a53ec6f78c51f5162 to your computer and use it in GitHub Desktop.
Godot Binary 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
# Maintainer: Spencer Alves <> | |
# Contributor: Jorge Araya Navarro <> | |
# Contributor: Cristian Porras <> | |
# Contributor: Matthew Bentley <> | |
pkgname=godot | |
pkgver=1.1 | |
pkgrel=3 | |
pkgdesc="An advanced, feature packed, multi-platform 2D and 3D game engine" | |
url="http://www.godotengine.org" | |
license=('MIT') | |
arch=('i686' 'x86_64') | |
depends=('glu' 'libxcursor' 'alsa-lib' 'freetype2' 'mesa') | |
optdepends=() | |
conflicts=("godot-git") | |
_arch='' | |
if test "$CARCH" == x86_64; then | |
_arch=('64') | |
else | |
_arch=('32') | |
fi | |
source=( | |
godot.desktop | |
icon.png | |
"https://github.com/okamstudio/godot/raw/1.1-stable/LICENSE.md" | |
) | |
source_i686=( | |
"https://godot.blob.core.windows.net/release/2015-05-21/godot_x11-1.1stable.32" | |
) | |
source_x86_64=( | |
"https://godot.blob.core.windows.net/release/2015-05-21/godot_x11-1.1stable.64" | |
) | |
sha256sums=('d2f5ae30b8c0c3fd8a20a451d34e9e9d0ba1b60a39b1f68484a9a74227c83822' | |
'b6bb8e42625414303cf7608f08fe63bd3267486bf7a96586ebab05ade5189785' | |
'f7c630ce97dd03f6f56cbf20456e25b205217096bd598f8f235edc99378f404e') | |
sha256sums_i686=('e2af8a01eda0e417f98f0015860aa0c750963ea1c0889eaa2578102cc2e9ed85') | |
sha256sums_x86_64=('2a62a934df0bd14de9bb6e1f1538bf7499893282291ae9e75573466c58d6e2a8') | |
package() { | |
cd "${srcdir}" | |
install -Dm644 godot.desktop "${pkgdir}"/usr/share/applications/godot.desktop | |
install -Dm644 icon.png "${pkgdir}"/usr/share/pixmaps/godot.png | |
install -D -m755 godot_x11-1.1stable.${_arch} "${pkgdir}"/usr/bin/godot | |
install -D -m644 LICENSE.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment