diff --git a/projects/restic.net/restic/package.yml b/projects/restic.net/restic/package.yml new file mode 100644 index 00000000..17bbcbc3 --- /dev/null +++ b/projects/restic.net/restic/package.yml @@ -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