mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+restic
This commit is contained in:
parent
9ab0a9dc8d
commit
1d3a6c250f
22
projects/restic.net/restic/package.yml
Normal file
22
projects/restic.net/restic/package.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/restic/restic/releases/download/v{{ version }}/restic-{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
display-name: restic
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: restic/restic
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/restic
|
||||||
|
|
||||||
|
build:
|
||||||
|
script: |
|
||||||
|
go run build.go
|
||||||
|
mkdir -p "{{ prefix }}"/bin
|
||||||
|
mv restic "{{ prefix }}"/bin
|
||||||
|
dependencies:
|
||||||
|
go.dev: ^1.20
|
||||||
|
|
||||||
|
test:
|
||||||
|
restic version
|
Loading…
Reference in a new issue