# 0ad is a realtime strategy game of ancient warfare. # Note: depends on openssl # Note: depends on zlib # Note: depends on mesa # Note: depends on glu # Note: depends on patch # Note: depends on zip # Note: depends on cmake # Note: depends on boost # Note: depends on SDL2 # Note: depends on curl # Note: depends on libvorbis # Note: depends on openal-soft # Note: depends on libXcursor # Note: depends on nspr # Note: depends on gloox # Note: depends on icu # Note: depends on enet # Note: depends on miniupnpc # Note: depends on spidermonkey-38 # Note: depends on libpng wget -c https://releases.wildfiregames.com/0ad-0.0.22-alpha-unix-build.tar.xz wget -c http://releases.wildfiregames.com/0ad-0.0.22-alpha-unix-data.tar.xz tar -xJf 0ad-0.0.22-alpha-unix-build.tar.xz tar -xJf 0ad-0.0.22-alpha-unix-data.tar.xz cd 0ad-0.0.22-alpha/build/workspaces ./update-workspaces.sh --libdir="/usr/lib/games/0ad" --bindir="/usr/bin" --datadir="/usr/share/0ad" --with-system-mozjs38 --without-nvtt --disable-atlas cd gcc make # Doesn't mind -j# # Install cd ../../.. mkdir -p /usr/lib/games/0ad install binaries/system/*.so* /usr/lib/games/0ad install binaries/system/pyrogenesis /usr/bin/0ad mkdir -p /usr/share/applications install build/resources/0ad.desktop /usr/share/applications mkdir -p /usr/share/pixmaps install build/resources/0ad.png /usr/share/pixmaps cp -r binaries/data/. /usr/share/0ad