desktop/tmux/PKGBUILD
2016-04-17 14:34:41 +01:00

27 lines
776 B
Bash

pkgname=tmux
pkgver=2.2
pkgrel=1
pkgdesc='A terminal multiplexer, intended as an alternative to GNU screen'
arch=('x86_64')
url='http://sourceforge.net/projects/tmux/'
screenshot='http://tmux.sourceforge.net/tmux3.png'
license=('BSD')
depends=('ncurses' 'libevent' 'libutempter')
source=("https://github.com/tmux/tmux/releases/download/${pkgver}/tmux-${pkgver}.tar.gz"
LICENSE)
sha256sums=('bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4'
'b5de80619e4884ced2dfe0a96020e85dcfb715a831ecdfdd7ce8c97b5a6ff2cc')
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/tmux/LICENSE"
}