* +lsd

* include `strip-components`
This commit is contained in:
John Allen 2023-01-17 20:19:38 -05:00 committed by GitHub
parent 7dcc53658f
commit 67e4a2c593
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,20 @@
distributable:
url: https://github.com/Peltoche/lsd/archive/refs/tags/{{ version }}.tar.gz
strip-components: 1
provides:
- bin/lsd
versions:
github: Peltoche/lsd/tags
build:
dependencies:
rust-lang.org: ">=1.60"
rust-lang.org/cargo: "*"
script: cargo install --locked --path . --root {{prefix}}
test:
script: |
out=$(lsd --oneline)
test "$out" = ""