mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 12:24:17 +08:00
Add neverball/neverputt manifests
This commit is contained in:
parent
fb4e799d88
commit
1bc8c229fd
5
recipes/neverball/manifest-neverball
Normal file
5
recipes/neverball/manifest-neverball
Normal file
@ -0,0 +1,5 @@
|
||||
name=Neverball
|
||||
binary=/games/neverball/neverball
|
||||
icon=/ui/icons/apps/neverball.png
|
||||
author=The Neverball Developers
|
||||
description=Neverball
|
||||
5
recipes/neverball/manifest-neverputt
Normal file
5
recipes/neverball/manifest-neverputt
Normal file
@ -0,0 +1,5 @@
|
||||
name=Neverputt
|
||||
binary=/games/neverball/neverputt
|
||||
icon=/ui/icons/apps/neverputt.png
|
||||
author=The Neverputt Developers
|
||||
description=Neverputt
|
||||
@ -25,11 +25,25 @@ function recipe_clean {
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
mkdir -p "${dest}/games/neverball"
|
||||
|
||||
# Create install directories
|
||||
mkdir -pv "${dest}/games/neverball" "${dest}/ui/apps" "${dest}/ui/icons/apps"
|
||||
|
||||
# Copy assets
|
||||
cp -rv data "${dest}/games/neverball"
|
||||
|
||||
# For each game
|
||||
for bin in neverball neverputt
|
||||
do
|
||||
"${STRIP}" -v "$bin" -o "${dest}/games/neverball/$bin"
|
||||
# Install binary
|
||||
"${STRIP}" -v "${bin}" -o "${dest}/games/neverball/${bin}"
|
||||
|
||||
# Install manifest
|
||||
cp -v "${COOKBOOK_RECIPE}/manifest-${bin}" "${dest}/ui/apps/${bin}"
|
||||
|
||||
# Install icon
|
||||
cp -v "dist/${bin}_48.png" "${dest}/ui/icons/apps/${bin}.png"
|
||||
done
|
||||
cp -rv data "${dest}/games/neverball"
|
||||
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user