diff --git a/recipes/openttd/manifest b/recipes/openttd/manifest new file mode 100644 index 0000000000000000000000000000000000000000..d1f4805ed2a1ce54aaddb2b85604636740c1effc --- /dev/null +++ b/recipes/openttd/manifest @@ -0,0 +1,4 @@ +name=OpenTTD +binary=/games/openttd +icon=/ui/icons/apps/openttd.png + diff --git a/recipes/openttd/recipe.sh b/recipes/openttd/recipe.sh index a7e079a45bf58e3750dd595ee6acc34707cbcd36..51e396f4330d795e19bf76f30a4570942b9d49c9 100644 --- a/recipes/openttd/recipe.sh +++ b/recipes/openttd/recipe.sh @@ -35,5 +35,12 @@ function recipe_stage { "$REDOX_MAKE" VERBOSE=1 ROOT_DIR="$dest/../build/" BUNDLE_DIR="$bundledir" INSTALL_DIR="$dest" install rm -rf "$bundledir" + + mkdir -pv "$1/ui/apps" + cp -v "${COOKBOOK_RECIPE}/manifest" "$1/ui/apps/openttd" + + mkdir -pv "$1/ui/icons/apps" + cp -v "media/openttd.64.png" "$1/ui/icons/apps/openttd.png" + skip=1 }