vp-build/srcpkgs/tmux/template

34 lines
983 B
Plaintext

# Template file for 'tmux'
pkgname=tmux
version=1.4
revision=1
distfiles="${SOURCEFORGE_SITE}/tmux/tmux-$version.tar.gz"
build_style=custom-install
short_desc="Terminal Multiplexer"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=c7e005f32e256b8ece214b71c51947f4081af8c5f0400083e4adaac2c258bbc7
long_desc="
tmux is a terminal multiplexer: it enables a number of terminals (or windows),
each running a separate program, to be created, accessed, and controlled from
a single screen. tmux may be detached from a screen and continue running in
the background, then later reattached."
Add_dependency run glibc
Add_dependency run ncurses-libs
Add_dependency run libevent
Add_dependency build ncurses-devel
Add_dependency build libevent-devel
do_build()
{
./configure && make ${makejobs} PREFIX=/usr
}
do_install()
{
make PREFIX=/usr DESTDIR=${DESTDIR} install
install -d ${DESTDIR}/usr/share/man
mv ${DESTDIR}/usr/man/man1 ${DESTDIR}/usr/share/man
rmdir ${DESTDIR}/usr/man
}