feat: add package tmux

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
sisungo committed 2026-11-03 15:20:11 +00:00
1 parent 91fbbe42de
commit 8abbcfeb3a
1 file changed
+37
+37
View File
@@ -0,0 +1,37 @@
import os
from lib import arch, cpp
from lib.make import *
version("3.8")
description("the terminal multiplexer that keeps your work running")
maintainer("sisungo <[email protected]>")
source_managed("github://tmux/tmux#3.8", "autotools")
builddep("shortcut/c")
builddep("shortcut/autotools")
builddep("libevent-dev @target")
builddep("libncurses-dev @target")
builddep("byacc")
def build():
os.environ["ac_cv_search_forkpty"] = "none required"
os.environ["ac_cv_func_forkpty"] = "yes"
cpp.configure([
f"--prefix={get_prefix('tmux')}",
"--enable-optimizations",
"--enable-sixel",
])
cpp.make()
cpp.make_install()
on_build(build)
package("tmux")
dep("semi-libc @same-arch")
dep("libevent @same-arch")
dep("libncurses @same-arch")
cpp.use_auto_pack(["bin"])