PKGBUILDs/community/tmux/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
855 B
Bash

# Maintainer: TDY <tdy@gmx.com>
# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
pkgname=tmux
pkgver=1.0
pkgrel=1
pkgdesc="A terminal multiplexer"
url="http://tmux.sourceforge.net/"
arch=('i686' 'x86_64')
license=('BSD')
depends=('ncurses')
source=(http://downloads.sourceforge.net/tmux/tmux-$pkgver.tar.gz
LICENSE)
md5sums=('716b12d9ea052f57d917bf2869d419df'
'71601bc37fa44e4395580b321963018e')
build() {
cd "$srcdir/tmux-$pkgver"
./configure
make || return 1
install -Dm755 tmux "$pkgdir/usr/bin/tmux"
install -Dm644 tmux.1 "$pkgdir/usr/share/man/man1/tmux.1"
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/*.{c,s}* "$pkgdir/usr/share/tmux/"
}