Compare commits

...
1 Commits
Author SHA1 Message Date
sisungo 23394f785e feat: add package patch
Signed-off-by: sisungo <[email protected]>
2026-07-07 10:53:07 +08:00
+24
View File
@@ -0,0 +1,24 @@
import shutil
import subprocess
from lib.make import *
version("15.1.1")
source_url("https://gitea.semilabs.org/semios/patch/archive/v15.1.1.tar.gz")
def build():
subprocess.run(["./build.sh"], check=True)
on_build(build)
def pack_patch(composer):
composer.makedir("bin")
composer.addfile("patch", "bin/patch")
package("patch")
dep("semi-libc @same-arch")
on_pack(pack_patch)