X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/6b8aa8f83ade69dfaaecc84f55334b907d958198..407531d30e86032441b6465a9480e7ce65ca5438:/packages/command-not-found/build.sh diff --git a/packages/command-not-found/build.sh b/packages/command-not-found/build.sh index 374372c3..56c6b02c 100644 --- a/packages/command-not-found/build.sh +++ b/packages/command-not-found/build.sh @@ -1,9 +1,10 @@ -TERMUX_PKG_HOMEPAGE=http://termux.com -TERMUX_PKG_DESCRIPTION="List of commands available for installation" -TERMUX_PKG_VERSION=0.1 +TERMUX_PKG_HOMEPAGE=https://termux.com +TERMUX_PKG_DESCRIPTION="Suggest installation of packages in interactive shell sessions" +TERMUX_PKG_VERSION=1.16 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 -Wall -Wextra -Werror -pedantic $CFLAGS $LDFLAGS -std=c11 $TERMUX_PKG_BUILDER_DIR/command-not-found.c \ + -o $TERMUX_LIBEXEC_DIR/command-not-found }