From 58e3f4d582fa4ae2ceb5b623ffa8c593daa067a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20M=C3=B6lder?= Date: Tue, 19 Mar 2019 04:37:59 +0100 Subject: [PATCH] Replaced zip by tar.gz dependancies --- xcode-build.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/xcode-build.sh b/xcode-build.sh index 7ee0213dd..9141d6941 100755 --- a/xcode-build.sh +++ b/xcode-build.sh @@ -3,22 +3,22 @@ function get_libs { echo "============= Getting Libs =============" - curl -O https://www.libsdl.org/release/SDL2-2.0.9.zip - curl -O https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.zip - curl -O https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.15.zip + curl -O https://www.libsdl.org/release/SDL2-2.0.9.tar.gz + curl -O https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz + curl -O https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.15.tar.gz curl -SLO https://download.savannah.gnu.org/releases/freetype/freetype-2.9.1.tar.gz - curl -SLO https://github.com/glennrp/libpng/archive/v1.6.36.zip - curl -SLO https://github.com/jedisct1/libsodium/archive/1.0.17.zip + curl -SLO https://github.com/glennrp/libpng/archive/v1.6.36.tar.gz + curl -SLO https://github.com/jedisct1/libsodium/archive/1.0.17.tar.gz } function decompress_libs { echo "============= Unzip Libs =============" - unzip SDL2-2.0.9.zip - unzip SDL2_mixer-2.0.4.zip - unzip SDL2_ttf-2.0.15.zip - unzip v1.6.36.zip + tar -zxvf SDL2-2.0.9.tar.gz + tar -zxvf SDL2_mixer-2.0.4.tar.gz + tar -zxvf SDL2_ttf-2.0.15.tar.gz + tar -zxvf v1.6.36.tar.gz tar -zxvf freetype-2.9.1.tar.gz - unzip 1.0.17.zip + tar -zxvf 1.0.17.tar.gz } function build_sdl2 {