Browse Source

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

tmux: make sure $PREFIX/var/run exists
emacs-27
Henrik Grimler 5 years ago
committed by GitHub
parent
commit
1dc429dd59
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      packages/tmux/build.sh

7
packages/tmux/build.sh

@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="BSD"
# Link against libandroid-support for wcwidth(), see https://github.com/termux/termux-packages/issues/224 # 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_DEPENDS="ncurses, libevent, libandroid-support, libandroid-glob"
TERMUX_PKG_VERSION=2.9a 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_SRCURL=https://github.com/tmux/tmux/releases/download/${TERMUX_PKG_VERSION}/tmux-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=839d167a4517a6bffa6b6074e89a9a8630547b2dea2086f1fad15af12ab23b25 TERMUX_PKG_SHA256=839d167a4517a6bffa6b6074e89a9a8630547b2dea2086f1fad15af12ab23b25
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-static" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-static"
@ -25,3 +25,8 @@ termux_step_post_make_install() {
$TERMUX_PREFIX/share/bash-completion/completions/tmux \ $TERMUX_PREFIX/share/bash-completion/completions/tmux \
05e79fc1ecb27637dc9d6a52c315b8f207cf010cdcee9928805525076c9020ae 05e79fc1ecb27637dc9d6a52c315b8f207cf010cdcee9928805525076c9020ae
} }
termux_step_create_debscripts() {
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
echo "mkdir -p $TERMUX_PREFIX/var/run" >> postinst
}

Loading…
Cancel
Save