Last active
August 21, 2024 00:40
-
-
Save rkitover/62ce2b372dcd766dbf910b9837c8477e to your computer and use it in GitHub Desktop.
build experimental tmux for Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pacman -S --noconfirm --needed base-devel git make autotools autoconf-archive libtool pkgconf libevent-devel windows-default-manifest msys2-runtime-devel msys2-w32api-headers gcc bison | |
rm -rf ~/tmux-windows | |
mkdir ~/tmux-windows | |
pushd ~/tmux-windows | |
git clone https://github.com/rkitover/MSYS2-packages.git | |
pushd MSYS2-packages/ncurses | |
git checkout msys-ncurses-win32con | |
makepkg -f | |
pacman -U --noconfirm ncurses*.pkg.tar.* | |
popd | |
git clone https://github.com/rkitover/tmux.git | |
pushd tmux | |
git checkout windows-shell | |
sh autogen.sh | |
./configure --prefix=/usr/local | |
make -j`nproc` | |
cp /usr/bin/msys-2.0.dll /usr/bin/msys-event_core-*.dll /usr/bin/msys-gcc_s-seh-*.dll /usr/bin/msys-ncursesw6.dll /usr/bin/msys-stdc++-6.dll . | |
popd | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment