diff options
author | jonian | 2016-04-23 16:28:22 +0300 |
---|---|---|
committer | jonian | 2016-04-23 16:28:22 +0300 |
commit | a7e2ca74ac1c0ef6ffba5cdbf2c8a77bb97571f0 (patch) | |
tree | 2017925cddffaab4eb96daa9c913f26538ca6c28 | |
parent | b09c9e46d3f9e55233cbb1ca1b8255aa42e7f9ec (diff) | |
download | aur-a7e2ca74ac1c0ef6ffba5cdbf2c8a77bb97571f0.tar.gz |
new version 2.0.2
add 32bit package support
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 24 insertions, 9 deletions
@@ -1,10 +1,11 @@ # Generated by mksrcinfo v8 -# Sat Feb 27 16:18:43 UTC 2016 +# Sat Apr 23 13:27:19 UTC 2016 pkgbase = godot-bin 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. - pkgver = 2.0 + pkgver = 2.0.2 pkgrel = 1 url = http://www.godotengine.org + arch = i686 arch = x86_64 license = GPL provides = godot-bin @@ -14,10 +15,12 @@ pkgbase = godot-bin replaces = godot-git source = godot.desktop source = icons.tar.gz - source = https://github.com/godotengine/godot/releases/download/2.0-stable/Godot_v2.0_linux.64 - md5sums = SKIP md5sums = SKIP md5sums = SKIP + source_i686 = https://downloads.tuxfamily.org/godotengine/2.0.2/Godot_v2.0.2_stable_x11.32.zip + md5sums_i686 = SKIP + source_x86_64 = https://downloads.tuxfamily.org/godotengine/2.0.2/Godot_v2.0.2_stable_x11.64.zip + md5sums_x86_64 = SKIP pkgname = godot-bin @@ -1,16 +1,20 @@ # Maintainer: Jonian Guveli <https://github.com/jonian/> pkgname=godot-bin -pkgver=2.0 +pkgver=2.0.2 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="http://www.godotengine.org" license=('GPL') provides=("godot-bin") conflicts=("godot" "godot-git") replaces=("godot" "godot-git") -source=("godot.desktop" "icons.tar.gz" "https://github.com/godotengine/godot/releases/download/"$pkgver"-stable/Godot_v"$pkgver"_linux.64") -md5sums=("SKIP" "SKIP" "SKIP") +source=("godot.desktop" "icons.tar.gz") +source_i686+=("https://downloads.tuxfamily.org/godotengine/"$pkgver"/Godot_v"$pkgver"_stable_x11.32.zip") +source_x86_64+=("https://downloads.tuxfamily.org/godotengine/"$pkgver"/Godot_v"$pkgver"_stable_x11.64.zip") +md5sums=("SKIP" "SKIP") +md5sums_i686=("SKIP") +md5sums_x86_64=("SKIP") package() { mkdir -p "$pkgdir/opt/$pkgname" @@ -18,7 +22,15 @@ package() { mkdir -p "$pkgdir/usr/share/icons/hicolor" mkdir -p "$pkgdir/usr/share/applications" - cp "$srcdir/Godot_v"$pkgver"_linux.64" "$pkgdir/opt/$pkgname/godot" + case $CARCH in + "i686") + cp "$srcdir/Godot_v"$pkgver"_stable_x11.32" "$pkgdir/opt/$pkgname/godot" + ;; + "x86_64") + cp "$srcdir/Godot_v"$pkgver"_stable_x11.64" "$pkgdir/opt/$pkgname/godot" + ;; + esac + cp "$srcdir/godot.desktop" "$pkgdir/usr/share/applications/godot.desktop" cp -a "$srcdir/icons/." "$pkgdir/usr/share/icons/hicolor" cp -a "$srcdir/icons/." "$pkgdir/usr/share/icons/gnome" |