Merge pull request #4299 from termux/tmux-var-run-folder

tmux: make sure $PREFIX/var/run exists
This commit is contained in:
Henrik Grimler 2019-09-17 20:38:31 +02:00 committed by GitHub
commit 6322ae9c3d
1 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@ 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"
TERMUX_PKG_VERSION=2.9a
TERMUX_PKG_REVISION=3
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://github.com/tmux/tmux/releases/download/${TERMUX_PKG_VERSION}/tmux-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=839d167a4517a6bffa6b6074e89a9a8630547b2dea2086f1fad15af12ab23b25
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-static"
@ -25,3 +25,8 @@ termux_step_post_make_install() {
$TERMUX_PREFIX/share/bash-completion/completions/tmux \
05e79fc1ecb27637dc9d6a52c315b8f207cf010cdcee9928805525076c9020ae
}
termux_step_create_debscripts() {
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
echo "mkdir -p $TERMUX_PREFIX/var/run" >> postinst
}