diff --git a/packages/readline/build.sh b/packages/readline/build.sh index 909a60604..8c840b1d8 100755 --- a/packages/readline/build.sh +++ b/packages/readline/build.sh @@ -4,6 +4,7 @@ TERMUX_PKG_DEPENDS="libandroid-support, ncurses" _MAIN_VERSION=7.0 _PATCH_VERSION=3 TERMUX_PKG_VERSION=${_MAIN_VERSION}.${_PATCH_VERSION} +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/readline/readline-${_MAIN_VERSION}.tar.gz TERMUX_PKG_SHA256=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-curses --enable-multibyte bash_cv_wcwidth_broken=no" @@ -23,3 +24,8 @@ termux_step_pre_configure () { patch -p0 -i $PATCHFILE done } + +termux_step_post_make_install() { + mkdir -p $TERMUX_PREFIX/lib/pkgconfig + cp readline.pc $TERMUX_PREFIX/lib/pkgconfig/ +}