streamline
This commit is contained in:
parent
71ac698b78
commit
c3b8ddff93
|
@ -1,5 +1,5 @@
|
||||||
name: monero
|
name: monero
|
||||||
version: 0 # TODO: change this to release version in CI builds
|
version: 0.10.1 # Current stable version
|
||||||
summary: "Monero: the secure, private, untraceable cryptocurrency https://getmonero.org"
|
summary: "Monero: the secure, private, untraceable cryptocurrency https://getmonero.org"
|
||||||
description: |
|
description: |
|
||||||
Monero is a private, secure, untraceable, decentralised digital currency.
|
Monero is a private, secure, untraceable, decentralised digital currency.
|
||||||
|
@ -9,37 +9,28 @@ grade: devel
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
d:
|
monerod:
|
||||||
daemon: forking
|
daemon: forking
|
||||||
command: daemon.bash
|
command: |
|
||||||
|
monerod --detach --data-dir ${SNAP_DATA}
|
||||||
plugs:
|
plugs:
|
||||||
- network
|
- network
|
||||||
- network-bind
|
- network-bind
|
||||||
|
monero-wallet-rpc:
|
||||||
log:
|
command: |
|
||||||
command: log.bash
|
monero-wallet-rpc --log-file ${SNAP_USER_DATA}
|
||||||
|
|
||||||
monero:
|
|
||||||
command: wallet.bash
|
|
||||||
plugs:
|
plugs:
|
||||||
|
- home
|
||||||
|
- network
|
||||||
|
- network-bind
|
||||||
|
monero-wallet-cli:
|
||||||
|
command: |
|
||||||
|
monero-wallet-cli --log-file ${SNAP_USER_DATA}
|
||||||
|
plugs:
|
||||||
|
- home
|
||||||
- network
|
- network
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
wrapper:
|
|
||||||
plugin: dump
|
|
||||||
source: .
|
|
||||||
stage-packages:
|
|
||||||
- rlwrap
|
|
||||||
organize:
|
|
||||||
contrib/snap/daemon.bash: daemon.bash
|
|
||||||
contrib/snap/log.bash: log.bash
|
|
||||||
contrib/snap/wallet.bash: wallet.bash
|
|
||||||
snap:
|
|
||||||
- daemon.bash
|
|
||||||
- log.bash
|
|
||||||
- wallet.bash
|
|
||||||
- usr/bin/rlwrap
|
|
||||||
|
|
||||||
cmake-build:
|
cmake-build:
|
||||||
plugin: cmake
|
plugin: cmake
|
||||||
configflags:
|
configflags:
|
||||||
|
@ -51,7 +42,6 @@ parts:
|
||||||
source: .
|
source: .
|
||||||
build-packages:
|
build-packages:
|
||||||
- gcc
|
- gcc
|
||||||
- cmake
|
|
||||||
- pkg-config
|
- pkg-config
|
||||||
- libunbound-dev
|
- libunbound-dev
|
||||||
- libevent-dev
|
- libevent-dev
|
||||||
|
@ -68,6 +58,8 @@ parts:
|
||||||
- libminiupnpc10
|
- libminiupnpc10
|
||||||
- libunbound2
|
- libunbound2
|
||||||
- libunwind8
|
- libunwind8
|
||||||
snap:
|
prime:
|
||||||
- bin
|
- bin
|
||||||
- usr
|
- usr/lib/
|
||||||
|
- -usr/lib/gcc
|
||||||
|
- -usr/share
|
||||||
|
|
Loading…
Reference in New Issue