summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml.template
blob: 56c73de3ad4044f696e598adaa98945ffc693182 (plain)
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
name: syncthing
version: {{.Version}}
summary: Open Source Continuous File Synchronization
description: |
  Syncthing replaces proprietary sync and cloud services with something open,
  trustworthy and decentralized. Your data is your data alone and you deserve
  to choose where it is stored, if it is shared with some third party and how
  it's transmitted over the Internet.
architectures: 
  - build-on: [{{.HostArchitecture}}]
    run-on: [{{.TargetArchitecture}}]

grade: {{.Grade}}
confinement: strict

apps:
  syncthing:
    command: syncthing
    environment:
      HOME: ${SNAP_USER_COMMON}
      XDG_CONFIG_HOME: ${SNAP_USER_COMMON}
    plugs:
    - desktop
    - home
    - network
    - network-bind
    - removable-media

parts:
  syncthing:
    source: .
    plugin: dump
    stage:
      - syncthing
    prime:
      - syncthing