summaryrefslogtreecommitdiff
path: root/community/tmux/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tmux/PKGBUILD')
-rw-r--r--community/tmux/PKGBUILD39
1 files changed, 20 insertions, 19 deletions
diff --git a/community/tmux/PKGBUILD b/community/tmux/PKGBUILD
index e256f2f6f..eb7d55a06 100644
--- a/community/tmux/PKGBUILD
+++ b/community/tmux/PKGBUILD
@@ -1,35 +1,36 @@
-# $Id: PKGBUILD 69194 2012-04-10 02:24:04Z spupykin $
+# $Id: PKGBUILD 77704 2012-10-13 15:48:59Z bpiotrowski $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: TDY <tdy@gmx.com>
# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
pkgname=tmux
-pkgver=1.6
-pkgrel=2
-pkgdesc="A terminal multiplexer"
-url="http://tmux.sourceforge.net/"
+pkgver=1.7
+pkgrel=1
+pkgdesc='A terminal multiplexer'
+url='http://tmux.sourceforge.net/'
arch=('i686' 'x86_64')
license=('BSD')
depends=('ncurses' 'libevent')
source=(http://downloads.sourceforge.net/tmux/tmux-$pkgver.tar.gz
- LICENSE)
-md5sums=('3e37db24aa596bf108a0442a81c845b3'
+ LICENSE)
+md5sums=('2c48fb9beb22eedba7a5de3b78dd0c03'
'71601bc37fa44e4395580b321963018e')
build() {
- cd "$srcdir/tmux-$pkgver"
- ./configure --prefix=/usr
- make
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "$srcdir/tmux-$pkgver"
- make install DESTDIR=$pkgdir
- install -Dm644 examples/tmux.vim "$pkgdir/usr/share/vim/vimfiles/syntax/tmux.vim"
- install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/tmux/LICENSE"
- install -dm755 "$pkgdir/usr/share/tmux/"
- install -m644 examples/* "$pkgdir/usr/share/tmux/"
-# mv $pkgdir/usr/man $pkgdir/usr/share/
- mkdir -p $pkgdir/usr/share/bash-completion/completions/
- mv $pkgdir/usr/share/tmux/bash_completion_tmux.sh $pkgdir/usr/share/bash-completion/completions/tmux
+ cd "$srcdir/$pkgname-$pkgver"
+ make install DESTDIR=$pkgdir
+ install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/tmux/LICENSE"
+
+ install -dm755 "$pkgdir/usr/share/tmux/"
+ install -m644 examples/* "$pkgdir/usr/share/tmux/"
+ install -Dm644 examples/tmux.vim "$pkgdir/usr/share/vim/vimfiles/syntax/tmux.vim"
+
+ install -d $pkgdir/usr/share/bash-completion/completions/
+ mv $pkgdir/usr/share/tmux/bash_completion_tmux.sh $pkgdir/usr/share/bash-completion/completions/tmux
}