Fix openttd paths

This commit is contained in:
Wildan M 2026-10-03 08:12:58 +07:00
parent 5765d9f6b2
commit f12422d1a5
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79
3 changed files with 6 additions and 6 deletions

View File

@ -4,6 +4,6 @@ git = "https://gitlab.redox-os.org/redox-os/openttd-openmsx.git"
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/share/games/openttd/baseset/openmsx"
cp -Rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/share/games/openttd/baseset/openmsx"
mkdir -pv "${COOKBOOK_STAGE}/usr/share/games/openttd/baseset/openmsx"
cp -Rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/usr/share/games/openttd/baseset/openmsx"
"""

View File

@ -4,6 +4,6 @@ git = "https://gitlab.redox-os.org/redox-os/openttd-opensfx.git"
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/share/games/openttd/baseset/opensfx"
cp -Rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/share/games/openttd/baseset/opensfx"
"""
mkdir -pv "${COOKBOOK_STAGE}/usr/share/games/openttd/baseset/opensfx"
cp -Rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/usr/share/games/openttd/baseset/opensfx"
"""

View File

@ -37,7 +37,7 @@ make VERBOSE=1 -j"$(nproc)"
dest="${COOKBOOK_STAGE}"
bundledir="$dest/bundle"
make VERBOSE=1 ROOT_DIR="./" BUNDLE_DIR="$bundledir" INSTALL_DIR="$dest/usr" install
make VERBOSE=1 ROOT_DIR="./" BUNDLE_DIR="$bundledir" INSTALL_DIR="$dest" install
rm -rf "$bundledir"
if [ -d "${COOKBOOK_STAGE}/usr/bin" ]