termux-packages/packages/tsu/build.sh

13 lines
483 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"
2017-11-17 04:50:14 +01:00
TERMUX_PKG_VERSION=0.3
2016-07-07 18:56:22 +02:00
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
termux_step_make_install () {
2017-11-17 04:50:14 +01:00
termux_download https://raw.githubusercontent.com/cswl/tsu/f0d3a5c6d179c34be18fb91b14f2f3da2100365a/tsu \
2017-03-04 21:54:30 +01:00
$TERMUX_PREFIX/bin/tsu \
2017-11-17 04:50:14 +01:00
e2babd61269765fec16a199b84fbefc3fa852b5d653bae4e52fc1f54b81f4966
2017-03-04 21:54:30 +01:00
touch $TERMUX_PREFIX/bin/tsu
2016-07-07 18:56:22 +02:00
chmod +x $TERMUX_PREFIX/bin/tsu
}