termux-packages/packages/tmux/build.sh

17 lines
827 B
Bash
Raw Normal View History

2017-06-02 22:08:13 +02:00
TERMUX_PKG_HOMEPAGE=https://tmux.github.io/
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Terminal multiplexer implementing switching between several programs in one terminal, detaching them and reattaching them to a different terminal"
# Link against libandroid-support for wcwidth(), see https://github.com/termux/termux-packages/issues/224
2017-04-22 02:26:00 +02:00
TERMUX_PKG_DEPENDS="ncurses, libevent, libutil, libandroid-support, libandroid-glob"
2017-10-06 13:34:06 +02:00
TERMUX_PKG_VERSION=2.6
TERMUX_PKG_SHA256=b17cd170a94d7b58c0698752e1f4f263ab6dc47425230df7e53a6435cc7cd7e8
2015-10-19 23:36:12 +02:00
TERMUX_PKG_SRCURL=https://github.com/tmux/tmux/releases/download/${TERMUX_PKG_VERSION}/tmux-${TERMUX_PKG_VERSION}.tar.gz
2015-06-13 01:03:31 +02:00
TERMUX_PKG_BUILD_IN_SRC=yes
2017-04-22 02:26:00 +02:00
termux_step_pre_configure() {
LDFLAGS+=" -landroid-glob"
}
2015-06-13 01:03:31 +02:00
termux_step_post_make_install () {
cp $TERMUX_PKG_BUILDER_DIR/tmux.conf $TERMUX_PREFIX/etc/tmux.conf
}