From 1c4fbdcd14fd97027bae0c5a5ec613b1e06e0821 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Sat, 18 Sep 2021 12:48:21 -0500 Subject: [PATCH] Create snapcraft.yaml --- snap/snapcraft.yaml | 67 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..eb540e2 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,67 @@ +name: btop +adopt-info: btop +summary: Resource monitor that shows usage and stats +description: | + Resource monitor that shows usage and stats for processor, memory, disks, network and processes. + C++ version and continuation of bashtop and bpytop. + +license: Apache-2.0 + +assumes: + - command-chain + +base: core20 +grade: stable +confinement: strict +compression: lzo + +architectures: + - build-on: amd64 + - build-on: arm64 + - build-on: armhf + - build-on: ppc64el + - build-on: s390x + +apps: + btop: + command: usr/bin/btop + command-chain: + - bin/homeishome-launch + plugs: + - mount-observe + - process-control + - system-observe + - hardware-observe + - network + - physical-memory-observe + - home + +parts: + btop: + source: https://github.com/aristocratos/btop + plugin: make + build-packages: + - coreutils + - sed + - git + - build-essential + - gcc-11 + - g++-11 + + stage-packages: + - coreutils + - sed + - git + - build-essential + - gcc-11 + - g++-11 + + override-pull: | + snapcraftctl pull + snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)" + + homeishome-launch: + plugin: nil + stage-snaps: + - homeishome-launch +