desktop/tmux/PKGBUILD
2017-10-06 02:56:46 +01:00

27 lines
764 B
Bash

pkgname=tmux
pkgver=2.6
pkgrel=1
pkgdesc='A terminal multiplexer, intended as an alternative to GNU screen'
arch=('x86_64')
url='http://tmux.github.io/'
screenshot='http://tmux.github.io/ss-small-tmux3.png'
license=('BSD')
depends=('ncurses' 'libevent' 'libutempter')
source=("https://github.com/tmux/tmux/releases/download/${pkgver}/tmux-${pkgver}.tar.gz"
LICENSE)
sha256sums=('b17cd170a94d7b58c0698752e1f4f263ab6dc47425230df7e53a6435cc7cd7e8'
'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"
}