2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-12-11 11:30:08 +01:00
xash3d-fwgs/build.sh
2015-10-10 22:37:58 +03:00

9 lines
425 B
Bash
Executable File

#!/bin/sh
ndk-build NDK_TOOLCHAIN_VERSION=4.8 NDK_DEBUG=0 V=0 XASH_SDL=1 -j8 APP_CFLAGS="-w"
sh gen-version.sh default-release
ant release
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ../myks.keystore bin/xashdroid-release-unsigned.apk xashdroid
rm bin/xashdroid-release.apk
/home/a1ba/.android/android-sdk-linux/build-tools/22.0.1/zipalign 4 bin/xashdroid-release-unsigned.apk bin/xashdroid-release.apk