tmux: install example config files and vim syntax file

License is BSD, not MIT.
This commit is contained in:
Alessio Sergi 2014-09-06 11:36:36 +02:00
parent fa9469e30b
commit b5a4b83a54

View File

@ -1,17 +1,20 @@
# Template file for 'tmux'
pkgname=tmux
version=1.9a
revision=2
revision=3
build_style=gnu-configure
makedepends="ncurses-devel libevent-devel"
short_desc="Terminal Multiplexer"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://tmux.sourceforge.net"
license="MIT"
license="BSD"
distfiles="${SOURCEFORGE_SITE}/tmux/tmux-$version.tar.gz"
checksum=c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5
post_install() {
vinstall examples/bash_completion_tmux.sh 644 \
usr/share/bash-completion/completions tmux
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,tmux_backup.sh,xterm-keys.vim}; do
vsconf "$f"
done
}