openethereum/scripts/snap/snapcraft.template.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
1.9 KiB
YAML
Raw Normal View History

2020-09-22 14:53:52 +02:00
name: openethereum
version: $VERSION
architectures: [$BUILD_ARCH]
grade: $GRADE
confinement: strict
2020-09-22 14:53:52 +02:00
summary: Fast and feature-rich multi-network Ethereum client.
description: |
2020-09-22 14:53:52 +02:00
OpenEthereum's goal is to be the fastest, lightest, and most secure Ethereum
client. We are developing OpenEthereum using the sophisticated and cutting-edge
Rust programming language. OpenEthereum is licensed under the GPLv3, and can be
used for all your Ethereum needs.
apps:
2020-09-22 14:53:52 +02:00
openethereum:
command: openethereum
plugs: [home, network, network-bind, mount-observe, removable-media, x11, unity7, desktop, desktop-legacy, wayland]
2020-09-22 14:53:52 +02:00
desktop: ./usr/share/applications/openethereum.desktop
openethereum-evm:
command: openethereum-evm
plugs: [home, network, network-bind, removable-media]
ethkey:
command: ethkey
plugs: [home, removable-media]
ethstore:
command: ethstore
plugs: [home, removable-media]
icon: ./scripts/snap/icon.png
parts:
desktop-icon:
source: ./scripts/snap
plugin: nil
override-build: |
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
2020-09-22 14:53:52 +02:00
cp -v ./openethereum.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
cp -v ./icon.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/
2020-09-22 14:53:52 +02:00
openethereum:
source: ./artifacts/$CARGO_TARGET
plugin: nil
override-build: |
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/bin
2020-09-22 14:53:52 +02:00
cp -v openethereum $SNAPCRAFT_PART_INSTALL/usr/bin/openethereum
cp -v openethereum-evm $SNAPCRAFT_PART_INSTALL/usr/bin/openethereum-evm
cp -v ethkey $SNAPCRAFT_PART_INSTALL/usr/bin/ethkey
cp -v ethstore $SNAPCRAFT_PART_INSTALL/usr/bin/ethstore
stage-packages: [libstdc++6, cmake, libdb5.3]