void-packages/srcpkgs/tmux/template

22 lines
690 B
Bash

# Template file for 'tmux'
pkgname=tmux
version=2.1
revision=1
build_style=gnu-configure
makedepends="ncurses-devel libevent-devel"
short_desc="Terminal Multiplexer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://tmux.github.io"
license="ISC"
distfiles="https://github.com/tmux/tmux/releases/download/${version}/tmux-${version}.tar.gz"
checksum=31564e7bf4bcef2defb3cb34b9e596bd43a3937cad9e5438701a81a5a9af6176
post_install() {
vlicense COPYING
vinstall examples/bash_completion_tmux.sh 644 usr/share/bash-completion/completions tmux
vinstall examples/tmux.vim 644 usr/share/vim/vimfiles/syntax tmux.vim
for f in examples/{*.conf,xterm-keys.vim}; do
vsconf "$f"
done
}