summaryrefslogtreecommitdiffstats
path: root/tmux/Pkgfile
blob: df724026088aeb3ae1fa98d2f037d0e75500e131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Description: Multiplexeur de terminal 
# URL: http://tmux.sourceforge.net/
# Maintainer: 
# Packager: lesibel at free dot fr
# Depends on: ncurses,libevent
# Run on: ncurses,libevent

name=tmux
version=1.6
release=1
source=( http://downloads.sourceforge.net/tmux/$name-$version.tar.gz
	LICENCE)

build() {
	cd $name-*
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
	install -Dm644 examples/tmux.vim $PKG/usr/share/vim/vimfiles/syntax/tmux.vim
  	install -Dm644 ../LICENCE $PKG/usr/share/licenses/tmux/LICENCE
  	install -dm755 $PKG/usr/share/tmux/
  	install -m644 examples/* $PKG/usr/share/tmux/
  	mkdir -p $PKG/etc/bash_completion.d/
  	mv $PKG/usr/share/tmux/bash_completion_tmux.sh $PKG/etc/bash_completion.d/tmux
}