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