31 lines
939 B
Bash
31 lines
939 B
Bash
# Template file for 'tmux'
|
|
pkgname=tmux
|
|
version=3.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-utempter --enable-sixel"
|
|
hostmakedepends="byacc automake pkg-config"
|
|
makedepends="libevent-devel libutempter-devel ncurses-devel"
|
|
depends="ncurses-base"
|
|
short_desc="Terminal Multiplexer"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="ISC"
|
|
homepage="https://tmux.github.io"
|
|
changelog="https://raw.githubusercontent.com/tmux/tmux/master/CHANGES"
|
|
distfiles="https://github.com/tmux/tmux/releases/download/${version}/tmux-${version}.tar.gz"
|
|
checksum=2fe01942e7e7d93f524a22f2c883822c06bc258a4d61dba4b407353d7081950f
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
{
|
|
echo ' * Copyright (c) 2007-2021 Nicholas Marriott <nicholas.marriott@gmail.com>'
|
|
grep -rh 'Copyright (c) .*[0-9] [a-zA-Z]' *.c compat/*.c |
|
|
grep -v 'Nicholas Marriott' | sort -u
|
|
cat COPYING
|
|
} >LICENSE
|
|
vlicense LICENSE
|
|
}
|