Compare commits

...
1 Commits
Author SHA1 Message Date
sisungo 0178b36988 feat: add package sed
Signed-off-by: sisungo <[email protected]>
2026-07-06 20:05:16 +08:00
+13 -5
View File
@@ -1,16 +1,24 @@
from lib import rust
import subprocess
from lib.make import *
version("0.1.1")
source_url("https://github.com/uutils/sed/releases/download/0.1.1/source.tar.gz")
version("15.1.1")
source_url("https://gitea.semilabs.org/semios/sed/archive/v15.1.1.tar.gz")
def build():
rust.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")
rust.use_auto_pack(["bin"])
dep("libpcre2 @same-arch")
on_pack(pack_sed)