diff options
Diffstat (limited to 'community/tmux/PKGBUILD')
-rw-r--r-- | community/tmux/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/tmux/PKGBUILD b/community/tmux/PKGBUILD new file mode 100644 index 000000000..cc857b27b --- /dev/null +++ b/community/tmux/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 40748 2011-02-26 13:51:26Z spupykin $ +# 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.4 +pkgrel=3 +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=('0bfc7dd9a5bab192406167589c716a21' + '71601bc37fa44e4395580b321963018e') + +build() { + cd "$srcdir/tmux-$pkgver" + ./configure + make PREFIX=/usr + make install PREFIX=/usr 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/etc/bash_completion.d/ + mv $pkgdir/usr/share/tmux/bash_completion_tmux.sh $pkgdir/etc/bash_completion.d/tmux +} |