From e1e559079947d3283e1e50a7f71a7262e152e921 Mon Sep 17 00:00:00 2001 From: derryktutt <82726593+derryktutt@users.noreply.github.com> Date: Sat, 14 May 2022 15:03:33 -0500 Subject: [PATCH 1/2] Create supertuxkart.sh --- scriptmodules/ports/supertuxkart.sh | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 scriptmodules/ports/supertuxkart.sh diff --git a/scriptmodules/ports/supertuxkart.sh b/scriptmodules/ports/supertuxkart.sh new file mode 100644 index 0000000000..6c0d9e6618 --- /dev/null +++ b/scriptmodules/ports/supertuxkart.sh @@ -0,0 +1,34 @@ + +#!/usr/bin/env bash + +# This file is part of The RetroPie Project +# +# The RetroPie Project is the legal property of its developers, whose names are +# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. +# +# See the LICENSE.md file at the top-level directory of this distribution and +# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md +# + +rp_module_id="supertuxkart" +rp_module_desc="SuperTuxKart SDL2-compatible racing game" +rp_module_licence="GPL3 https://github.com/supertuxkart/stk-editor/blob/master/LICENSE" +rp_module_section="exp" +rp_module_flags="!mali" + +function _update_hook_supertuxkart() { + # to show as installed in retropie-setup 4.x + hasPackage supertuxkart && mkdir -p "$md_inst" +} + +function install_bin_supertuxkart() { + aptInstall supertuxkart +} + +function remove_supertuxkart() { + aptRemove supertuxkart supertuxkart-data +} + +function configure_supertuxkart() { + addPort "$md_inst" "supertuxkart" "SuperTuxKart" +} From 0fdf9f15b5502d068358ea73142e7ce68f632945 Mon Sep 17 00:00:00 2001 From: derryktutt <82726593+derryktutt@users.noreply.github.com> Date: Sat, 14 May 2022 15:05:37 -0500 Subject: [PATCH 2/2] Update supertuxkart.sh --- scriptmodules/ports/supertuxkart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scriptmodules/ports/supertuxkart.sh b/scriptmodules/ports/supertuxkart.sh index 6c0d9e6618..fb6a56e1dc 100644 --- a/scriptmodules/ports/supertuxkart.sh +++ b/scriptmodules/ports/supertuxkart.sh @@ -14,7 +14,7 @@ rp_module_id="supertuxkart" rp_module_desc="SuperTuxKart SDL2-compatible racing game" rp_module_licence="GPL3 https://github.com/supertuxkart/stk-editor/blob/master/LICENSE" rp_module_section="exp" -rp_module_flags="!mali" +rp_module_flags="!rpi3" function _update_hook_supertuxkart() { # to show as installed in retropie-setup 4.x