forked from semios/semios-packages
25 lines
502 B
Python
25 lines
502 B
Python
import lib.rust as rust
|
|
from lib.make import *
|
|
|
|
version("0.5.0")
|
|
description("utility to compute difference between text files")
|
|
maintainer("sisungo <[email protected]>")
|
|
source_url("https://github.com/uutils/diffutils/archive/refs/tags/v0.5.0.tar.gz")
|
|
|
|
builddep("shortcut/rust")
|
|
|
|
block_hook("autolink")
|
|
|
|
|
|
def build():
|
|
rust.build()
|
|
|
|
|
|
on_build(build)
|
|
|
|
package("diffutils")
|
|
rust.use_auto_pack(["bin"])
|
|
link("bin/diffutils", "/bin/cmp")
|
|
link("bin/diffutils", "/bin/diff")
|
|
dep("semi-libc @same-arch")
|