summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMarvin Dalheimer2018-06-13 23:51:12 +0200
committerMarvin Dalheimer2018-06-13 23:51:12 +0200
commit84b033a06b3c57c968b83c0c80b302302557e7d8 (patch)
tree8e73c40387bf384c3d0fb153871d566c84e3222f /PKGBUILD
parent5d9b5b88723d07cae72d93fa8d74638a7d30a8e3 (diff)
downloadaur-84b033a06b3c57c968b83c0c80b302302557e7d8.tar.gz
Updated to version 3.0.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 26 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 90c4b182dbd..05de8c5e0c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,21 @@
# Maintainer: Marvin Dalheimer <me@marvin-dalheimer.de>
pkgname=godot-mono-bin
-pkgver=3.0.2
+pkgver=3.0.3
pkgrel=1
pkgdesc="Godot is an advanced, feature packed, multi-platform 2D and 3D game engine. It provides a huge set of common tools, so you can just focus on making your game without reinventing the wheel."
-arch=("x86_64")
+arch=("i686" "x86_64")
url="https://www.godotengine.org"
license=('MIT')
provides=("godot-mono-bin")
conflicts=("godot-mono")
-depends=("mono>=5.4.0" "msbuild-stable")
-optdepends=("dotnet-sdk")
+depends=("mono>=5.12.0" "dotnet-sdk" "msbuild-stable")
source=("godot-mono.desktop" "icons.tar.gz")
-source_x86_64+=("$pkgname-$pkgver.zip::https://downloads.tuxfamily.org/godotengine/"$pkgver"/mono/Godot_v"$pkgver"-stable_mono_x11_64.zip")
+source_i686=("$pkgname-$pkgver-i686.zip::https://downloads.tuxfamily.org/godotengine/"$pkgver"/mono/Godot_v"$pkgver"-stable_mono_x11_32.zip")
+source_x86_64=("$pkgname-$pkgver-x86_64.zip::https://downloads.tuxfamily.org/godotengine/"$pkgver"/mono/Godot_v"$pkgver"-stable_mono_x11_64.zip")
md5sums=('c8ba9f7656b2c2db9a3ec385b3848bf5'
'281c83d55c6a4d39fb9710e6f143bc5a')
-md5sums_x86_64=('602c755b8d837477d40169b6ddc47592')
+md5sums_i686=('77a0bc1b0708a0843c94e95f9b387176')
+md5sums_x86_64=('f81c27e6414bf9f3306ddb859aa4f7b3')
package() {
mkdir -p "$pkgdir/opt/$pkgname"
@@ -22,12 +23,26 @@ package() {
mkdir -p "$pkgdir/usr/share/icons/hicolor"
mkdir -p "$pkgdir/usr/share/applications"
- cp -r "$srcdir/Godot_v"$pkgver"-stable_mono_x11_64" "$pkgdir/opt/$pkgname/godot"
-
+ case $CARCH in
+ "i686")
+ cp -r "$srcdir/Godot_v${pkgver}-stable_mono_x11_32" "$pkgdir/opt/$pkgname/godot"
+ ;;
+ "x86_64")
+ cp -r "$srcdir/Godot_v${pkgver}-stable_mono_x11_64" "$pkgdir/opt/$pkgname/godot"
+ ;;
+ esac
+
cp "$srcdir/godot-mono.desktop" "$pkgdir/usr/share/applications/godot-mono.desktop"
cp -a "$srcdir/icons/." "$pkgdir/usr/share/icons/hicolor"
- chmod +x "$pkgdir/opt/$pkgname/godot/Godot_v"$pkgver"-stable_mono_x11.64"
-
- ln -s "/opt/"$pkgname"/godot/Godot_v"$pkgver"-stable_mono_x11.64" "$pkgdir/usr/bin/godot-mono"
+ case $CARCH in
+ "i686")
+ chmod +x "$pkgdir/opt/$pkgname/godot/Godot_v${pkgver}-stable_mono_x11.32"
+ ln -s "$pkgdir/opt/$pkgname/godot/Godot_v${pkgver}-stable_mono_x11.32" "$pkgdir/usr/bin/godot-mono"
+ ;;
+ "x86_64")
+ chmod +x "$pkgdir/opt/$pkgname/godot/Godot_v${pkgver}-stable_mono_x11.64"
+ ln -s "$pkgdir/opt/$pkgname/godot/Godot_v${pkgver}-stable_mono_x11.64" "$pkgdir/usr/bin/godot-mono"
+ ;;
+ esac
}