mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
27 lines
572 B
YAML
27 lines
572 B
YAML
distributable:
|
|
url: https://github.com/Peltoche/lsd/archive/refs/tags/v{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
provides:
|
|
- bin/lsd
|
|
|
|
versions:
|
|
github: Peltoche/lsd/tags
|
|
|
|
dependencies:
|
|
libgit2.org: ~1.7
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org: '>=1.60'
|
|
rust-lang.org/cargo: '*'
|
|
script:
|
|
# this was missed in 1.1.0
|
|
- sed -i 's/^version = "1\.0\.0"$/version = "{{version}}"/' Cargo.toml
|
|
- cargo install --path . --root {{prefix}}
|
|
|
|
test:
|
|
- test "$(lsd --version)" = "lsd {{version}}"
|
|
- touch testfile
|
|
- test "$(lsd --oneline)" = "testfile"
|