termux-packages/packages/tsu/build.sh

21 lines
585 B
Bash
Raw Normal View History

2016-07-07 18:56:22 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/cswl/tsu
TERMUX_PKG_DESCRIPTION="A su wrapper for Termux"
TERMUX_PKG_LICENSE="ISC"
2018-03-12 11:16:36 +01:00
TERMUX_PKG_VERSION=2.0
2016-07-07 18:56:22 +02:00
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_SRCURL=https://github.com/cswl/tsu/archive/ce32547e7ca441ed449b12447539da959b889e95.zip
TERMUX_PKG_SHA256=11c0b0c0b1c9acb64d354ce9b0348d3d950e06e274d567498b1b46e8fd51fb9e
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_make() {
:
}
2016-07-07 18:56:22 +02:00
termux_step_make_install() {
cp tsu $TERMUX_PREFIX/bin/tsu
2016-07-07 18:56:22 +02:00
chmod +x $TERMUX_PREFIX/bin/tsu
cp tsudo $TERMUX_PREFIX/bin/tsudo
2018-03-12 11:16:36 +01:00
chmod +x $TERMUX_PREFIX/bin/tsudo
2016-07-07 18:56:22 +02:00
}