# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=tmux pkgver=1.5 pkgrel=0 pkgdesc="Tool to control multiple terminals from a single terminal" url="http://tmux.sourceforge.net/" arch="all" license="BSD" depends="" makedepends="ncurses-dev libevent-dev autoconf automake" install= subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz tmux-b64_ntop.patch" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;; esac done aclocal autoreconf } build() { cd "$_builddir" ./configure --prefix=/usr\ || return 1 make || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install || return 1 } md5sums="3d4b683572af34e83bc8b183a8285263 tmux-1.5.tar.gz 0fe2460847932e5427ee94dbc8a29c41 tmux-b64_ntop.patch"