desktop/tmux/PKGBUILD
2017-04-21 00:21:00 +01:00

27 lines
764 B
Bash

pkgname=tmux
pkgver=2.4
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=('757d6b13231d0d9dd48404968fc114ac09e005d475705ad0cd4b7166f799b349'
'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"
}