2016-07-07 18:56:22 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/cswl/tsu
|
|
|
|
TERMUX_PKG_DESCRIPTION="A su wrapper for Termux"
|
2019-01-21 15:00:12 +01:00
|
|
|
TERMUX_PKG_LICENSE="ISC"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-05-16 16:02:33 +02:00
|
|
|
TERMUX_PKG_VERSION=8.5.1
|
2021-01-08 20:57:56 +01:00
|
|
|
TERMUX_PKG_REVISION=3
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2021-01-08 20:56:54 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/cswl/tsu/archive/v$TERMUX_PKG_VERSION.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=26014e092ba0fe9723ec244c8e6025a639944b4226df97b47342cdb7a01265d6
|
2019-04-23 18:09:49 +02:00
|
|
|
|
2018-06-22 01:03:26 +02:00
|
|
|
termux_step_make() {
|
2020-05-02 06:08:41 +02:00
|
|
|
python3 ./extract_usage.py
|
2018-06-22 01:03:26 +02:00
|
|
|
}
|
2016-07-07 18:56:22 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2020-05-02 06:08:41 +02:00
|
|
|
# There is no install.sh script in the repository for now
|
|
|
|
mkdir -p "$TERMUX_PREFIX/bin"
|
2021-01-08 20:56:54 +01:00
|
|
|
install -Dm755 tsu "$TERMUX_PREFIX/bin"
|
2020-05-02 06:08:41 +02:00
|
|
|
# sudo - is an included addon in tsu now
|
|
|
|
ln -sf "$TERMUX_PREFIX/bin/tsu" "$TERMUX_PREFIX/bin/sudo"
|
2016-07-07 18:56:22 +02:00
|
|
|
}
|