termux-tools: Add termux-wake-{lock,unlock}
This commit is contained in:
parent
9b88f344b0
commit
eafc139a78
@ -1,6 +1,6 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://termux.com/
|
||||
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
||||
TERMUX_PKG_VERSION=0.30
|
||||
TERMUX_PKG_VERSION=0.31
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
||||
|
||||
termux_step_make_install () {
|
||||
@ -22,6 +22,6 @@ termux_step_make_install () {
|
||||
chmod +x $TERMUX_PREFIX/bin/$tool
|
||||
done
|
||||
|
||||
cp -p $TERMUX_PKG_BUILDER_DIR/{dalvikvm,su,termux-fix-shebang,termux-reload-settings,termux-setup-storage,chsh,termux-open-url} $TERMUX_PREFIX/bin/
|
||||
cp -p $TERMUX_PKG_BUILDER_DIR/{dalvikvm,su,termux-fix-shebang,termux-reload-settings,termux-setup-storage,chsh,termux-open-url,termux-wake-lock,termux-wake-unlock} $TERMUX_PREFIX/bin/
|
||||
perl -p -i -e "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" $TERMUX_PREFIX/bin/dalvikvm
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user