diff --git a/projects/asciinema.org/agg/package.yml b/projects/asciinema.org/agg/package.yml new file mode 100644 index 00000000..045f61da --- /dev/null +++ b/projects/asciinema.org/agg/package.yml @@ -0,0 +1,24 @@ +distributable: + url: https://github.com/asciinema/agg/archive/refs/tags/v{{version}}.tar.gz + strip-components: 1 + +display-name: agg + +versions: + github: asciinema/agg/tags # reads github tags from github + +dependencies: + rust-lang.org: ^1.56 + +build: + dependencies: + rust-lang.org/cargo: '*' + script: + cargo install --path . --root {{prefix}} + +provides: + - bin/agg + +test: + script: + test "$(agg --version)" = "agg {{version}}"