# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=tmux pkgver=1.4 pkgrel=1 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" install= subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" ./configure make || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" PREFIX=/usr install # the configure script/makefile does not give us possibility to # change mandir mkdir "$pkgdir"/usr/share mv "$pkgdir"/usr/man "$pkgdir"/usr/share/ } md5sums="0bfc7dd9a5bab192406167589c716a21 tmux-1.4.tar.gz"