mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
a8c8f6398a
commit
7075a3dc5f
26
projects/xplr.dev/package.yml
Normal file
26
projects/xplr.dev/package.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
distributable:
|
||||
url: https://github.com/sayanarijit/xplr/archive/refs/tags/{{ version.tag }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
provides:
|
||||
- bin/xplr
|
||||
|
||||
versions:
|
||||
github: sayanarijit/xplr
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: '>=1.56'
|
||||
rust-lang.org/cargo: '*'
|
||||
script:
|
||||
# linux/aarch64 wants aarch64-linux-gnu-gcc
|
||||
- run: |
|
||||
mkdir .bin
|
||||
ln -s "$(command -v clang)" .bin/aarch64-linux-gnu-gcc
|
||||
export PATH="$PWD/.bin:$PATH"
|
||||
if: linux/aarch64
|
||||
- cargo install --path . --root {{prefix}}
|
||||
|
||||
test:
|
||||
- xplr --help
|
||||
- test "$(xplr --version)" = "xplr {{version}}"
|
Loading…
Reference in a new issue