Files
2026-08-10 09:53:45 +08:00

31 lines
576 B
Python

import subprocess
from lib.make import *
version("15.1.1")
description("SemiOS fork of the UNIX sed utility")
maintainer("sisungo <[email protected]>")
source_url("https://gitea.semilabs.org/semios/sed/archive/v15.1.1.tar.gz")
builddep("shortcut/c")
builddep(f"libpcre2-dev @{arch.get_target()}")
builddep("pcre2-tools")
def build():
subprocess.run(["./build.sh"])
on_build(build)
def pack_sed(composer):
composer.makedir("bin")
composer.addfile("sed", "bin/sed")
package("sed")
dep("semi-libc @same-arch")
dep("libpcre2 @same-arch")
on_pack(pack_sed)