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:
parent
191b2131e9
commit
4edbd76c85
1 changed files with 10 additions and 2 deletions
|
@ -5,6 +5,14 @@ install_osx() {
|
||||||
brew install pkg-config pcre libpng libedit sdl2 freetype2 sdl2_ttf \
|
brew install pkg-config pcre libpng libedit sdl2 freetype2 sdl2_ttf \
|
||||||
vde cmake gnu-getopt coreutils
|
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() {
|
install_linux() {
|
||||||
sudo apt-get update -yqqm
|
sudo apt-get update -yqqm
|
||||||
|
@ -57,11 +65,11 @@ install_clang64() {
|
||||||
|
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
osx|linux|mingw64|ucrt64|clang64)
|
osx|arch|linux|mingw64|ucrt64|clang64)
|
||||||
install_"$1"
|
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
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue