mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
+github.com/gopasspw/gopass (#2686)
* +github.com/gopasspw/gopass * add vendored warning --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
b514cea7a6
commit
73e4cbf62a
1 changed files with 28 additions and 0 deletions
28
projects/github.com/gopasspw/gopass/package.yml
Normal file
28
projects/github.com/gopasspw/gopass/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
versions:
|
||||
github: gopasspw/gopass
|
||||
|
||||
provides:
|
||||
- bin/gopass
|
||||
|
||||
warnings:
|
||||
- vendored
|
||||
|
||||
build:
|
||||
working-directory: ${{prefix}}
|
||||
dependencies:
|
||||
curl.se: '*'
|
||||
env:
|
||||
darwin/aarch64: {PLATFORM: darwin-arm64}
|
||||
darwin/x86-64: {PLATFORM: darwin-amd64}
|
||||
linux/aarch64: {PLATFORM: linux-arm64}
|
||||
linux/x86-64: {PLATFORM: linux-amd64}
|
||||
script:
|
||||
- rm -rf ./gopass.tar.gz ./extracted ./bin
|
||||
- curl -Lfo gopass.tar.gz "https://github.com/gopasspw/gopass/releases/download/v{{version}}/gopass-{{version}}-$PLATFORM.tar.gz"
|
||||
- mkdir ./extracted && tar -xf gopass.tar.gz -C ./extracted
|
||||
- mkdir ./bin && mv ./extracted/gopass ./bin/ && chmod +x ./bin/*
|
||||
- rm -rf ./gopass.tar.gz ./extracted
|
||||
|
||||
test:
|
||||
script:
|
||||
- '[[ "$(gopass --version)" == *"{{version}}"* ]]'
|
Loading…
Reference in a new issue