diff options
Diffstat (limited to 'community/tmux')
-rw-r--r-- | community/tmux/LICENSE | 13 | ||||
-rw-r--r-- | community/tmux/PKGBUILD | 36 |
2 files changed, 49 insertions, 0 deletions
diff --git a/community/tmux/LICENSE b/community/tmux/LICENSE new file mode 100644 index 000000000..3ccacc76d --- /dev/null +++ b/community/tmux/LICENSE @@ -0,0 +1,13 @@ +Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER +IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING +OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/community/tmux/PKGBUILD b/community/tmux/PKGBUILD new file mode 100644 index 000000000..7a7744ce8 --- /dev/null +++ b/community/tmux/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 87109 2013-03-27 11:16:29Z 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.8 +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=('b9477de2fe660244cbc6e6d7e668ea0e' + '71601bc37fa44e4395580b321963018e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + 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 +} |