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

29 lines
522 B
Python

import shutil
import subprocess
from lib.make import *
version("15.1.1")
description("the SemiOS fork of the UNIX patch utility")
maintainer("sisungo <[email protected]>")
source_url("https://gitea.semilabs.org/semios/patch/archive/v15.1.1.tar.gz")
builddep("shortcut/c")
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)