2023-08-21 01:13:00 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/o2sh/onefetch/archive/refs/tags/{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/onefetch
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: o2sh/onefetch
|
|
|
|
strip: /v/
|
|
|
|
|
2023-11-29 20:57:05 +03:00
|
|
|
dependencies:
|
|
|
|
libgit2.org: ^1
|
|
|
|
|
2023-08-21 01:13:00 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
cmake.org: ^3
|
|
|
|
rust-lang.org: '>=1.56'
|
|
|
|
rust-lang.org/cargo: '*'
|
2023-10-02 03:41:57 +03:00
|
|
|
script: cargo install --locked --path . --root {{prefix}}
|
2023-08-21 01:13:00 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- test "$(onefetch --version)" = "onefetch {{version}}"
|