From 4edbd76c850b939e7f6ae7bea0460b4f29106de7 Mon Sep 17 00:00:00 2001 From: Ender Wiggin <96267911+PurpleAce88@users.noreply.github.com> Date: Mon, 5 Feb 2024 21:12:51 +0000 Subject: [PATCH] Added an option for Arch Linux. Added an option that uses pacman to install everything, therefore making setup simpler for Arch users. --- .travis/deps.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis/deps.sh b/.travis/deps.sh index 176b2f67..6335a08b 100755 --- a/.travis/deps.sh +++ b/.travis/deps.sh @@ -5,6 +5,14 @@ install_osx() { brew install pkg-config pcre libpng libedit sdl2 freetype2 sdl2_ttf \ vde cmake gnu-getopt coreutils } +install_arch() { + sudo pacman -S pkgconf + sudo pacman -S pcre libpng libedit + sudo pacman -S mesa + sudo pacman -S libsm + sudo -S cmake + +} install_linux() { sudo apt-get update -yqqm @@ -57,11 +65,11 @@ install_clang64() { case "$1" in - osx|linux|mingw64|ucrt64|clang64) + osx|arch|linux|mingw64|ucrt64|clang64) install_"$1" ;; *) - echo "$0: Need an operating system name: osx, linux, mingw64 or ucrt64" + echo "$0: Need an operating system name: osx, arch, linux, mingw64 or ucrt64" exit 1 ;; esac