You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
595 B
15 lines
595 B
TERMUX_PKG_HOMEPAGE=http://termux.com
|
|
TERMUX_PKG_DESCRIPTION="List of commands available for installation"
|
|
TERMUX_PKG_VERSION=0.1
|
|
|
|
termux_step_make_install () {
|
|
TERMUX_SHARE_DIR=$TERMUX_PREFIX/share/termux
|
|
mkdir -p $TERMUX_SHARE_DIR
|
|
cp $TERMUX_PKG_BUILDER_DIR/commands.txt $TERMUX_SHARE_DIR/commands.txt
|
|
|
|
TERMUX_LIBEXEC_DIR=$TERMUX_PREFIX/libexec/termux
|
|
mkdir -p $TERMUX_LIBEXEC_DIR
|
|
$CC $CFLAGS $LDFLAGS -std=c11 $TERMUX_PKG_BUILDER_DIR/command-not-found.c \
|
|
-DTERMUX_COMMANDS_LISTING=$TERMUX_PREFIX/share/termux/commands.txt \
|
|
-o $TERMUX_LIBEXEC_DIR/command-not-found
|
|
}
|
|
|