apksigner: Create $TERMUX_PREFIX/share/dex directory if needed

This commit is contained in:
Fredrik Fornwall 2016-10-07 08:43:09 -04:00
parent 47182adc56
commit 92f5e5c345

View File

@ -8,6 +8,7 @@ TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make () {
ant
mkdir -p $TERMUX_PREFIX/share/dex
$TERMUX_DX --dex --output $TERMUX_PREFIX/share/dex/apksigner.dex apksigner.jar
echo '#!/bin/sh' > $TERMUX_PREFIX/bin/apksigner
echo "dalvikvm -cp $TERMUX_PREFIX/share/dex/apksigner.dex net.fornwall.apksigner.Main \$@" >> $TERMUX_PREFIX/bin/apksigner