termux-packages/packages/command-not-found/build.sh

11 lines
423 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://termux.com
2015-07-14 01:52:50 +02:00
TERMUX_PKG_DESCRIPTION="Suggest installation of packages in interactive shell sessions"
TERMUX_PKG_VERSION=1.23
termux_step_make_install () {
2015-07-14 01:11:03 +02:00
TERMUX_LIBEXEC_DIR=$TERMUX_PREFIX/libexec/termux
mkdir -p $TERMUX_LIBEXEC_DIR
2015-07-16 01:28:59 +02:00
$CC -Wall -Wextra -Werror -pedantic $CFLAGS $LDFLAGS -std=c11 $TERMUX_PKG_BUILDER_DIR/command-not-found.c \
2015-07-14 01:11:03 +02:00
-o $TERMUX_LIBEXEC_DIR/command-not-found
}