mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
new file: projects/syncthing.net/package.yml
This commit is contained in:
parent
cd3fe49eee
commit
0910eeea8c
1 changed files with 27 additions and 0 deletions
27
projects/syncthing.net/package.yml
Normal file
27
projects/syncthing.net/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
distributable:
|
||||
url: https://github.com/syncthing/syncthing/archive/refs/tags/{{version.tag}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: syncthing/syncthing
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.21
|
||||
script:
|
||||
- go run build.go --version {{version.tag}} --no-upgrade tar
|
||||
- install -D syncthing {{prefix}}/bin/syncthing
|
||||
- run: cp $SRCROOT/man/*.1 ./
|
||||
working-directory: ${{prefix}}/share/man/man1
|
||||
- run: cp $SRCROOT/man/*.5 ./
|
||||
working-directory: ${{prefix}}/share/man/man5
|
||||
- run: cp $SRCROOT/man/*.7 ./
|
||||
working-directory: ${{prefix}}/share/man/man7
|
||||
|
||||
provides:
|
||||
- bin/syncthing
|
||||
|
||||
test:
|
||||
- syncthing --version | grep {{version}}
|
||||
- syncthing -generate ./
|
||||
- ls | grep config.xml
|
Loading…
Reference in a new issue