tsu: do not use arrays for source and sha256
No need for it since it is only one source archive.
This commit is contained in:
parent
5cec106f74
commit
82168adf9b
@ -6,8 +6,8 @@ TERMUX_PKG_VERSION=8.5.1
|
|||||||
TERMUX_PKG_REVISION=2
|
TERMUX_PKG_REVISION=2
|
||||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||||
TERMUX_PKG_BUILD_IN_SRC=true
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
TERMUX_PKG_SRCURL=(https://github.com/cswl/tsu/archive/v$TERMUX_PKG_VERSION.tar.gz)
|
TERMUX_PKG_SRCURL=https://github.com/cswl/tsu/archive/v$TERMUX_PKG_VERSION.tar.gz
|
||||||
TERMUX_PKG_SHA256=(26014e092ba0fe9723ec244c8e6025a639944b4226df97b47342cdb7a01265d6)
|
TERMUX_PKG_SHA256=26014e092ba0fe9723ec244c8e6025a639944b4226df97b47342cdb7a01265d6
|
||||||
|
|
||||||
termux_step_make() {
|
termux_step_make() {
|
||||||
python3 ./extract_usage.py
|
python3 ./extract_usage.py
|
||||||
@ -16,8 +16,7 @@ termux_step_make() {
|
|||||||
termux_step_make_install() {
|
termux_step_make_install() {
|
||||||
# There is no install.sh script in the repository for now
|
# There is no install.sh script in the repository for now
|
||||||
mkdir -p "$TERMUX_PREFIX/bin"
|
mkdir -p "$TERMUX_PREFIX/bin"
|
||||||
cp $TERMUX_PKG_SRCDIR/tsu "$TERMUX_PREFIX/bin/tsu"
|
install -Dm755 tsu "$TERMUX_PREFIX/bin"
|
||||||
chmod 0755 "$TERMUX_PREFIX/bin/tsu"
|
|
||||||
# sudo - is an included addon in tsu now
|
# sudo - is an included addon in tsu now
|
||||||
ln -sf "$TERMUX_PREFIX/bin/tsu" "$TERMUX_PREFIX/bin/sudo"
|
ln -sf "$TERMUX_PREFIX/bin/tsu" "$TERMUX_PREFIX/bin/sudo"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user