From 7a1f87073041a1da59943740868a64ce4cc59b07 Mon Sep 17 00:00:00 2001
From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
Date: Wed, 3 Jan 2024 21:43:44 +0100
Subject: [PATCH] Move the remaining couple of games to /usr/games

---
 recipes/games/gigalomania/manifest  | 2 +-
 recipes/games/gigalomania/recipe.sh | 2 +-
 recipes/games/openttd/manifest      | 2 +-
 recipes/games/openttd/recipe.sh     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/games/gigalomania/manifest b/recipes/games/gigalomania/manifest
index 345713ee1..94fb93b69 100644
--- a/recipes/games/gigalomania/manifest
+++ b/recipes/games/gigalomania/manifest
@@ -1,4 +1,4 @@
 name=Gigalomania
 category=Games
-binary=/games/gigalomania/gigalomania
+binary=/usr/games/gigalomania/gigalomania
 icon=/ui/icons/apps/gigalomania.png
diff --git a/recipes/games/gigalomania/recipe.sh b/recipes/games/gigalomania/recipe.sh
index e43d67164..d29aad066 100644
--- a/recipes/games/gigalomania/recipe.sh
+++ b/recipes/games/gigalomania/recipe.sh
@@ -26,7 +26,7 @@ function recipe_stage {
     dest="$(realpath $1)"
     bundledir="$dest/bundle"
 
-    "$REDOX_MAKE" VERBOSE=1 DESTDIR="$dest" install
+    "$REDOX_MAKE" VERBOSE=1 DESTDIR="$dest/usr" install
     rm -rf "$bundledir"
 
     mkdir -pv "$1/ui/apps"
diff --git a/recipes/games/openttd/manifest b/recipes/games/openttd/manifest
index 7f25f3556..79405498d 100644
--- a/recipes/games/openttd/manifest
+++ b/recipes/games/openttd/manifest
@@ -1,4 +1,4 @@
 name=OpenTTD
 category=Games
-binary=/games/openttd
+binary=/usr/games/openttd
 icon=/ui/icons/apps/openttd.png
diff --git a/recipes/games/openttd/recipe.sh b/recipes/games/openttd/recipe.sh
index bd15e67e3..ff766abf9 100644
--- a/recipes/games/openttd/recipe.sh
+++ b/recipes/games/openttd/recipe.sh
@@ -33,7 +33,7 @@ function recipe_stage {
     dest="$(realpath $1)"
     bundledir="$dest/bundle"
 
-    "$REDOX_MAKE" VERBOSE=1 ROOT_DIR="$dest/../build/" BUNDLE_DIR="$bundledir" INSTALL_DIR="$dest" install
+    "$REDOX_MAKE" VERBOSE=1 ROOT_DIR="$dest/../build/" BUNDLE_DIR="$bundledir" INSTALL_DIR="$dest/usr" install
     rm -rf "$bundledir"
 
     mkdir -pv "$1/ui/apps"
-- 
GitLab