diff --git a/projects/svenstaro.github.io/genact/package.yml b/projects/svenstaro.github.io/genact/package.yml new file mode 100644 index 00000000..493e9da0 --- /dev/null +++ b/projects/svenstaro.github.io/genact/package.yml @@ -0,0 +1,21 @@ +distributable: + url: https://github.com/svenstaro/genact/archive/refs/tags/v{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/genact + +versions: + github: svenstaro/genact + strip: /v/ + +build: + dependencies: + rust-lang.org: ">=1.56" + rust-lang.org/cargo: "*" + script: + - cargo install --path . --root {{prefix}} + +test: + script: + - test "$(genact --version)" = "genact {{version}}"