-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
59 lines (55 loc) · 1.13 KB
/
snapcraft.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: deluge-lukewh
version: 2.0.5
summary: Torrents
description: Torrents
base: core18
grade: stable
confinement: strict
architectures:
- build-on: amd64
- build-on: arm64
parts:
deluge:
plugin: python
source: git://deluge-torrent.org/deluge.git
source-tag: deluge-2.0.5
requirements:
- requirements.txt
stage-packages:
- python3-libtorrent
- lsof
launcher:
plugin: nil
source: .
override-build: |
mkdir -p $SNAPCRAFT_PART_INSTALL/bin
cp -av launcher.sh $SNAPCRAFT_PART_INSTALL/bin
apps:
deluged-service:
command: launcher.sh -d -c deluged
daemon: simple
plugs:
- network
- network-bind
- removable-media
deluge-web-service:
command: launcher.sh -d -c deluge-web
daemon: simple
plugs:
- network
- network-bind
deluged:
command: launcher.sh -c deluged
plugs:
- network
- network-bind
- removable-media
#deluge-console:
# command: bin/deluge-console
deluge-web:
command: launcher.sh -c deluge-web
plugs:
- network
- network-bind
#deluge-gtk:
# command: bin/deluge-gtk