summaryrefslogtreecommitdiff
path: root/tmux.sh
blob: 8be5be22e9746c3e2fce79700d014ddfa8dc15e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

set -euxo pipefail

curl -Ls https://github.com/tmux/tmux/archive/2.8.tar.gz | \
    tar -xz -C /build/source --strip-components=1

apt-get install -y \
    libevent-dev \
    libncurses5-dev

cd /build/source
./autogen.sh
./configure --prefix=/build/target/tmux-2.8
make && make install

tar -C /build/target -cvzf /output/tmux-2.8.tar.gz tmux-2.8