diff options
Diffstat (limited to 'tmux.sh')
-rwxr-xr-x | tmux.sh | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | set -euxo pipefail | ||
4 | |||
5 | curl -Ls https://github.com/tmux/tmux/archive/2.8.tar.gz | \ | ||
6 | tar -xz -C /build/source --strip-components=1 | ||
7 | |||
8 | apt-get install -y \ | ||
9 | libevent-dev \ | ||
10 | libncurses5-dev | ||
11 | |||
12 | cd /build/source | ||
13 | ./autogen.sh | ||
14 | ./configure --prefix=/build/target/tmux-2.8 | ||
15 | make && make install | ||
16 | |||
17 | tar -C /build/target -cvzf /output/tmux-2.8.tar.gz tmux-2.8 | ||