47d7197fb9
fix DEPRICATED `prepare ` fix TODO https://bugs.launchpad.net/snapcraft/+bug/1778530
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
name: parity
|
|
version: git
|
|
summary: Fast, light, robust Ethereum implementation
|
|
description: |
|
|
Parity's goal is to be the fastest, lightest, and most secure Ethereum
|
|
client. We are developing Parity using the sophisticated and cutting-edge
|
|
Rust programming language. Parity is licensed under the GPLv3, and can be
|
|
used for all your Ethereum needs.
|
|
|
|
grade: devel
|
|
confinement: strict
|
|
|
|
apps:
|
|
parity:
|
|
command: parity
|
|
plugs: [home, network, network-bind, mount-observe, x11, unity7, desktop, desktop-legacy, wayland]
|
|
desktop: usr/share/applications/parity.desktop
|
|
|
|
icon: snap/gui/icon.png
|
|
|
|
parts:
|
|
desktop-icon:
|
|
source: ./snap
|
|
plugin: nil
|
|
override-build: |
|
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
|
cp -v gui/parity.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
|
cp -v gui/icon.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/
|
|
parity:
|
|
source: .
|
|
plugin: rust
|
|
build-attributes: [no-system-libraries]
|
|
build-packages: [g++, libudev-dev, make, pkg-config, cmake]
|
|
stage-packages: [libc6, libudev1, libstdc++6]
|
|
df:
|
|
plugin: nil
|
|
stage-packages: [coreutils]
|
|
stage: [bin/df]
|