~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update libmpdclient url and fix libflac 1.3.2 update (#2268)
[termux-packages]
/
packages
/
command-not-found
/
build.sh
diff --git
a/packages/command-not-found/build.sh
b/packages/command-not-found/build.sh
index
3dd5660
..
097d670
100644
(file)
--- a/
packages/command-not-found/build.sh
+++ b/
packages/command-not-found/build.sh
@@
-1,15
+1,10
@@
-TERMUX_PKG_HOMEPAGE=http://termux.com
+TERMUX_PKG_HOMEPAGE=http
s
://termux.com
TERMUX_PKG_DESCRIPTION="Suggest installation of packages in interactive shell sessions"
TERMUX_PKG_DESCRIPTION="Suggest installation of packages in interactive shell sessions"
-TERMUX_PKG_VERSION=
0.2
+TERMUX_PKG_VERSION=
1.30
termux_step_make_install () {
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
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 \
+ $CC -Wall -Wextra -Werror -pedantic $CFLAGS $LDFLAGS -std=c11 $TERMUX_PKG_BUILDER_DIR/command-not-found.c \
-o $TERMUX_LIBEXEC_DIR/command-not-found
}
-o $TERMUX_LIBEXEC_DIR/command-not-found
}