Update snapcraft.yaml

This commit is contained in:
kz6fittycent 2021-09-23 15:21:46 -05:00 committed by GitHub
parent abdc2f4878
commit 62e016f7db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 8 deletions

View File

@ -44,7 +44,9 @@ parts:
btop:
source: https://github.com/aristocratos/btop
source-type: git
plugin: nil
plugin: make
make-parameters:
- PREFIX=/usr/local
build-packages:
- coreutils
- sed
@ -65,13 +67,6 @@ parts:
snapcraftctl pull
snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"
override-build: |
mkdir -p $SNAPCRAFT_PART_INSTALL/btop
cd $SNAPCRAFT_PART_INSTALL/btop
make install PREFIX=$SNAPCRAFT_PART_INSTALL/usr/local
make setuid
make clean
homeishome-launch:
plugin: nil
stage-snaps: