termux-packages/packages/command-not-found/build.sh
2018-06-22 23:35:39 +02:00

11 lines
423 B
Bash

TERMUX_PKG_HOMEPAGE=https://termux.com
TERMUX_PKG_DESCRIPTION="Suggest installation of packages in interactive shell sessions"
TERMUX_PKG_VERSION=1.32
termux_step_make_install () {
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
}