Files
2026-10-12 09:04:17 +00:00

31 lines
599 B
Python

from lib.make import *
from lib import cpp
version("3.5.3")
description("an interactive process viewer")
maintainer("sisungo <[email protected]>")
source_managed("github://htop-dev/htop#3.5.3", "autotools")
builddep("shortcut/autotools")
builddep("shortcut/c")
builddep("libncurses-dev @target")
builddep("linux-dev @target")
def build():
cpp.configure([
f"--prefix={get_prefix('htop')}",
"--enable-unicode",
])
cpp.make()
cpp.make_install()
on_build(build)
package("htop")
dep("libncurses @same-arch")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["bin"])