diff --git a/recipes/dosbox/icon.png b/recipes/dosbox/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..91943701161a72b805073703a0e2d6fd196105ee Binary files /dev/null and b/recipes/dosbox/icon.png differ diff --git a/recipes/dosbox/manifest b/recipes/dosbox/manifest new file mode 100644 index 0000000000000000000000000000000000000000..a60f5bd41fba99ab689f1beaffeaf015d8a326fc --- /dev/null +++ b/recipes/dosbox/manifest @@ -0,0 +1,4 @@ +name=DOSBox +binary=/bin/dosbox +icon=/ui/icons/apps/dosbox.png + diff --git a/recipes/dosbox/recipe.sh b/recipes/dosbox/recipe.sh index c45c96f1611d18b92882ccaeb783770145c3aca6..3cbeabf53b5260657d2c869bd4ff6a6a93451499 100644 --- a/recipes/dosbox/recipe.sh +++ b/recipes/dosbox/recipe.sh @@ -33,5 +33,12 @@ function recipe_clean { function recipe_stage { dest="$(realpath $1)" "$REDOX_MAKE" DESTDIR="$dest" install + + mkdir -pv "$1/ui/apps" + cp -v "${COOKBOOK_RECIPE}/manifest" "$1/ui/apps/dosbox" + + mkdir -pv "$1/ui/icons/apps" + cp -v "${COOKBOOK_RECIPE}/icon.png" "$1/ui/icons/apps/dosbox.png" + skip=1 }