termux-packages/packages/tmux/build.sh

27 lines
1.1 KiB
Bash
Raw Normal View History

2017-06-02 22:08:13 +02:00
TERMUX_PKG_HOMEPAGE=https://tmux.github.io/
2017-12-05 22:33:04 +01:00
TERMUX_PKG_DESCRIPTION="Terminal multiplexer"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="BSD"
# Link against libandroid-support for wcwidth(), see https://github.com/termux/termux-packages/issues/224
TERMUX_PKG_DEPENDS="ncurses, libevent, libandroid-support, libandroid-glob"
2019-05-05 22:37:58 +02:00
TERMUX_PKG_VERSION=2.9a
2019-04-25 14:28:23 +02:00
TERMUX_PKG_REVISION=1
2019-05-05 22:37:58 +02:00
TERMUX_PKG_SHA256=839d167a4517a6bffa6b6074e89a9a8630547b2dea2086f1fad15af12ab23b25
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
TERMUX_PKG_CONFFILES="etc/tmux.conf"
2017-04-22 02:26:00 +02:00
termux_step_pre_configure() {
LDFLAGS+=" -landroid-glob"
}
termux_step_post_make_install() {
2015-06-13 01:03:31 +02:00
cp $TERMUX_PKG_BUILDER_DIR/tmux.conf $TERMUX_PREFIX/etc/tmux.conf
2019-04-25 14:28:23 +02:00
mkdir -p $TERMUX_PREFIX/share/bash-completion/completions
termux_download \
https://raw.githubusercontent.com/imomaliev/tmux-bash-completion/homebrew_1.0.0/completions/tmux \
$TERMUX_PREFIX/share/bash-completion/completions/tmux \
05e79fc1ecb27637dc9d6a52c315b8f207cf010cdcee9928805525076c9020ae
2015-06-13 01:03:31 +02:00
}