#!/bin/bash set -e # Create sources directory mkdir -p sources # Download zlib source archive cd sources wget -O zlib-1.3.1.tar.gz https://www.zlib.net/zlib-1.3.1.tar.gz # Extract the source archive tar -xzf zlib-1.3.1.tar.gz # Clean up the archive rm zlib-1.3.1.tar.gz echo "Source acquisition complete"