1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 01:27:07 +00:00
termux-packages/packages/command-not-found/build.sh

13 lines
480 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://termux.com
2015-07-13 23:52:50 +00:00
TERMUX_PKG_DESCRIPTION="Suggest installation of packages in interactive shell sessions"
TERMUX_PKG_LICENSE="Apache-2.0"
2019-07-22 16:41:07 +00:00
TERMUX_PKG_VERSION=1.39
TERMUX_PKG_SKIP_SRC_EXTRACT=true
termux_step_make_install() {
2015-07-13 23:11:03 +00:00
TERMUX_LIBEXEC_DIR=$TERMUX_PREFIX/libexec/termux
mkdir -p $TERMUX_LIBEXEC_DIR
2015-07-15 23:28:59 +00:00
$CC -Wall -Wextra -Werror -pedantic $CFLAGS $LDFLAGS -std=c11 $TERMUX_PKG_BUILDER_DIR/command-not-found.c \
2019-02-09 11:16:54 +00:00
-o $TERMUX_LIBEXEC_DIR/command-not-found
}