pantry/projects/restic.net/restic/package.yml
Markus Zoppelt 1d3a6c250f +restic
2023-11-18 07:01:11 -05:00

22 lines
382 B
YAML

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