mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
+unxip (#2134)
* wip * wip * exclude testing on darwin+x86-64 --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
b68e81ab2e
commit
b9a2edbb00
1 changed files with 29 additions and 0 deletions
29
projects/github.com/saagarjha/unxip/package.yml
Normal file
29
projects/github.com/saagarjha/unxip/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
distributable:
|
||||
url: https://github.com/saagarjha/unxip/archive/refs/tags/v{{version.raw}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: saagarjha/unxip/releases/tags
|
||||
strip: /^v/
|
||||
|
||||
platforms:
|
||||
- darwin
|
||||
|
||||
provides:
|
||||
- bin/unxip
|
||||
|
||||
warnings:
|
||||
- vendored
|
||||
|
||||
build:
|
||||
script: |
|
||||
curl -Lfo unxip "https://github.com/saagarjha/unxip/releases/download/v{{version.raw}}/unxip"
|
||||
chmod +x unxip
|
||||
mkdir -p "{{prefix}}/bin"
|
||||
mv unxip "{{prefix}}/bin"
|
||||
|
||||
test:
|
||||
script:
|
||||
# FIXME: Won't test on macos-11, which is our test runner for darwin+x86-64
|
||||
- if test "{{ hw.platform }}+{{ hw.arch }}" = "darwin+x86-64"; then exit 0; fi
|
||||
- unxip --help
|
Loading…
Reference in a new issue