termux-api: Bump version from 0.19 to 0.20
This commit is contained in:
parent
ab5f5c6068
commit
c8fc4751a1
@ -1,14 +1,16 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=http://termux.com/add-ons/api/
|
TERMUX_PKG_HOMEPAGE=http://termux.com/add-ons/api/
|
||||||
TERMUX_PKG_DESCRIPTION="Termux API commands"
|
TERMUX_PKG_DESCRIPTION="Termux API commands"
|
||||||
TERMUX_PKG_VERSION=0.19
|
TERMUX_PKG_VERSION=0.20
|
||||||
|
|
||||||
termux_step_make_install () {
|
termux_step_make_install () {
|
||||||
mkdir -p $TERMUX_PREFIX/bin
|
mkdir -p $TERMUX_PREFIX/bin
|
||||||
local TERMUX_API_BINARY=$TERMUX_PREFIX/libexec/termux-api
|
local TERMUX_API_BINARY=$TERMUX_PREFIX/libexec/termux-api
|
||||||
|
|
||||||
cd $TERMUX_PKG_BUILDER_DIR
|
cd $TERMUX_PKG_BUILDER_DIR
|
||||||
for file in `ls termux-* | grep -v termux-api.c`; do
|
for file in `ls termux-* | grep -v termux-api.c`; do
|
||||||
sed "s|@TERMUX_API@|$TERMUX_API_BINARY|" $file > $TERMUX_PREFIX/bin/$file
|
sed "s|@TERMUX_API@|$TERMUX_API_BINARY|" $file > $TERMUX_PREFIX/bin/$file
|
||||||
chmod +x $TERMUX_PREFIX/bin/$file
|
chmod +x $TERMUX_PREFIX/bin/$file
|
||||||
done
|
done
|
||||||
$CC $CFLAGS -std=c11 -Wall -Wextra -pedantic -Werror $LDFLAGS termux-api.c -o $TERMUX_API_BINARY
|
|
||||||
|
$CC $CFLAGS -std=c11 -Wall -Wextra -pedantic -Werror $LDFLAGS termux-api.c -o $TERMUX_API_BINARY
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user