X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/87745886da624c7aea4e24c1979a1550c08730e5..bd8b6c68c4103c7f88f561f3e0bce36f10d50142:/packages/tmux/build.sh diff --git a/packages/tmux/build.sh b/packages/tmux/build.sh index b9a6cea3..bda7c9fd 100755 --- a/packages/tmux/build.sh +++ b/packages/tmux/build.sh @@ -1,11 +1,16 @@ -TERMUX_PKG_HOMEPAGE=http://tmux.github.io/ -TERMUX_PKG_DESCRIPTION="Terminal multiplexer implementing switching between several programs in one terminal, detaching them and reattaching them to a different terminal" -TERMUX_PKG_DEPENDS="ncurses, libevent, libutil" -TERMUX_PKG_VERSION=2.0 -TERMUX_PKG_BUILD_REVISION=3 -TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/tmux/tmux/tmux-${TERMUX_PKG_VERSION}/tmux-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_HOMEPAGE=https://tmux.github.io/ +TERMUX_PKG_DESCRIPTION="Terminal multiplexer" +# Link against libandroid-support for wcwidth(), see https://github.com/termux/termux-packages/issues/224 +TERMUX_PKG_DEPENDS="ncurses, libevent, libutil, libandroid-support, libandroid-glob" +TERMUX_PKG_VERSION=2.7 +TERMUX_PKG_SHA256=9ded7d100313f6bc5a87404a4048b3745d61f2332f99ec1400a7c4ed9485d452 +TERMUX_PKG_SRCURL=https://github.com/tmux/tmux/releases/download/${TERMUX_PKG_VERSION}/tmux-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_BUILD_IN_SRC=yes +termux_step_pre_configure() { + LDFLAGS+=" -landroid-glob" +} + termux_step_post_make_install () { cp $TERMUX_PKG_BUILDER_DIR/tmux.conf $TERMUX_PREFIX/etc/tmux.conf }