aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/shione/srb2kart/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/shione/srb2kart/setup.sh')
-rw-r--r--deploy/shione/srb2kart/setup.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/deploy/shione/srb2kart/setup.sh b/deploy/shione/srb2kart/setup.sh
new file mode 100644
index 0000000..70eb956
--- /dev/null
+++ b/deploy/shione/srb2kart/setup.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -eux
+
+# Install both build and runtime dependencies.
+#
+# Build dependencies are install just in case srb2kart needs to be compiled on
+# shione.
+apt install \
+ make \
+ git \
+ nasm \
+ gcc \
+ libsdl2-mixer-dev \
+ libpng-dev \
+ libcurl4-openssl-dev \
+ libgme-dev \
+ libopenmpt-dev
+
+# The user `srb2kart` is used by default here.
+su srb2kart
+cd --