summaryrefslogtreecommitdiffstats
path: root/tmux/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/Pkgfile')
-rw-r--r--tmux/Pkgfile29
1 files changed, 15 insertions, 14 deletions
diff --git a/tmux/Pkgfile b/tmux/Pkgfile
index 80c2752d0..df7240260 100644
--- a/tmux/Pkgfile
+++ b/tmux/Pkgfile
@@ -1,24 +1,25 @@
-# Description: Multiplexeur de terminal
+# 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
+# Maintainer:
+# Packager: lesibel at free dot fr
+# Depends on: ncurses,libevent
+# Run on: ncurses,libevent
name=tmux
-version=1.5
+version=1.6
release=1
-source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
+source=( http://downloads.sourceforge.net/tmux/$name-$version.tar.gz
+ LICENCE)
build() {
- cd $name-$version
+ cd $name-*
./configure --prefix=/usr
make
- make install DESTDIR=$PKG
-
+ make DESTDIR=$PKG install
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
+ 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
}