aboutsummaryrefslogtreecommitdiffstats
path: root/main/tmux/APKBUILD
blob: 18453d32363f456967e3ebe9c31a5f180ab3a3dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tmux
pkgver=1.3
pkgrel=0
pkgdesc="Tool to control multiple terminals from a single terminal"
url="http://tmux.sourceforge.net/"
arch="x86 x86_64"
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="96e60cb206de2db0610b9fb6a64c2251  tmux-1.3.tar.gz"