tmux: Update from 2.3 to 2.4
[termux-packages] / packages / tmux / build.sh
CommitLineData
c6612648 1TERMUX_PKG_HOMEPAGE=http://tmux.github.io/
59f0d218 2TERMUX_PKG_DESCRIPTION="Terminal multiplexer implementing switching between several programs in one terminal, detaching them and reattaching them to a different terminal"
1ea423b5 3# Link against libandroid-support for wcwidth(), see https://github.com/termux/termux-packages/issues/224
e2e96b22
FF
4TERMUX_PKG_DEPENDS="ncurses, libevent, libutil, libandroid-support, libandroid-glob"
5TERMUX_PKG_VERSION=2.4
6TERMUX_PKG_SHA256=757d6b13231d0d9dd48404968fc114ac09e005d475705ad0cd4b7166f799b349
b4b35f2f 7TERMUX_PKG_SRCURL=https://github.com/tmux/tmux/releases/download/${TERMUX_PKG_VERSION}/tmux-${TERMUX_PKG_VERSION}.tar.gz
59f0d218
FF
8TERMUX_PKG_BUILD_IN_SRC=yes
9
e2e96b22
FF
10termux_step_pre_configure() {
11 LDFLAGS+=" -landroid-glob"
12}
13
59f0d218
FF
14termux_step_post_make_install () {
15 cp $TERMUX_PKG_BUILDER_DIR/tmux.conf $TERMUX_PREFIX/etc/tmux.conf
16}