mirror of
https://github.com/open-simh/simh.git
synced 2026-03-05 19:10:04 +00:00
Added an option for Arch Linux.
Added an option that uses pacman to install everything, therefore making setup simpler for Arch users.
This commit is contained in:
committed by
Paul Koning
parent
191b2131e9
commit
4edbd76c85
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user