forked from conda-forge/syncthing-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeta.yaml
More file actions
39 lines (32 loc) · 935 Bytes
/
meta.yaml
File metadata and controls
39 lines (32 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{% set name = "syncthing" %}
{% set version = "2.0.16" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/{{ name }}/{{ name }}/releases/download/v{{ version }}/{{ name }}-source-v{{ version }}.tar.gz
sha256: f93836f943967c8fe608e90fd6dc2c419ce00cfa0ca5266caa86c22ae290f169
build:
number: 0
script:
- go run build.go -version v{{ version }} -no-upgrade install
- mkdir -p $PREFIX/bin # [not win]
- mv bin/* $PREFIX/bin # [not win]
- mkdir %LIBRARY_BIN% # [win]
- move bin\* %LIBRARY_BIN%\ # [win]
requirements:
build:
- {{ compiler('go') }}
test:
commands:
- which syncthing # [not win]
- where syncthing # [win]
- syncthing --help
about:
home: https://github.com/syncthing/syncthing
license: MPL-2.0
summary: Open Source Continuous File Synchronization
license_file: LICENSE
extra:
recipe-maintainers:
- tao-j