compile-scummvm/compileScummvm.sh

17 lines
555 B
Bash
Raw Normal View History

2022-07-13 22:27:53 +02:00
#!/bin/bash
# Fanta <fanta@56k.es>
d="/tmp/scummvm"
if [ "$(whoami)" != "root" ]; then
echo "[+] Checking root user"
echo -e "\e[31m\e[1m[NOT OK]\e[0m Run it with root please" && exit
fi
# Ubuntu 20.04.4 LTS
cat /etc/issue | grep "Ubuntu 20.04.4 LTS" 1>/dev/null ; if [ "$?" -ne 1 ]; then
2022-07-13 22:52:58 +02:00
apt update -y ; apt install -y git make gcc g++ libsdl2-dev
2022-07-13 22:27:53 +02:00
git clone -b master --depth 1 "https://github.com/scummvm/scummvm.git" $d ; cd $d
./configure --enable-all-engines --disable-discord --enable-plugins --enable-profiling
make ; make install
fi