summaryrefslogtreecommitdiffstats
path: root/tmux/Pkgfile
blob: 80c2752d011671c2651b97c1ad382ae4f33a4c33 (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
# Description: Multiplexeur de terminal
# URL: http://tmux.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: piernov <piernov@piernov.org>
# Depends on: libevent, ncurses
# Run on: libevent,ncurses

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

build() {
	cd $name-$version
	./configure --prefix=/usr
	make
	make install DESTDIR=$PKG

	install -Dm644 examples/tmux.vim $PKG/usr/share/vim/vimfiles/syntax/tmux.vim
	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
}