desktop/tmux/PKGBUILD
2018-07-13 18:21:04 +02:00

27 lines
764 B
Bash

pkgname=tmux
pkgver=2.7
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=('9ded7d100313f6bc5a87404a4048b3745d61f2332f99ec1400a7c4ed9485d452'
'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"
}