smlinux/extra/tmux/tmux.SMBuild

33 lines
719 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=tmux
version=2.8
build=1sml
homepage="https://github.com/tmux/tmux"
download="https://github.com/tmux/tmux/archive/refs/tags/$version.tar.gz"
desc="terminal multiplexer, alternative to GNU screen"
requires="netbsd-curses libevent"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=""
make
make install DESTDIR=$pkg
cp COPYING README TODO $pkgdocs/
mkfinalpkg
}
sha512sums="
0efe5498f63a234995c02b56b5bb15c439d1ca7a0312b6e3ab12fe538b012bca8e06374fc09bb83e54c78ff10264c5a971a9ca10e7153998bf29703809e1521b tmux-2.8.tar.lz
"