Files
ports/packages/less/pkgbuild.py
T
2026-10-08 14:45:25 +00:00

27 lines
562 B
Python

from lib import arch, cpp
from lib.make import *
version("710")
description("a free, open-source file pager")
maintainer("sisungo <[email protected]>")
source_url("https://www.greenwoodsoftware.com/less/less-710.tar.gz")
builddep("shortcut/c")
builddep("shortcut/autotools")
builddep("libncurses-dev @target")
def build():
cpp.configure([f"--prefix={get_prefix('less')}", "--with-regex=posix"])
cpp.make()
cpp.make_install()
on_build(build)
package("less")
dep("semi-libc @same-arch")
dep("libncurses @same-arch")
cpp.use_auto_pack(["bin"])