mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-02 02:24:54 +12:00
trying override build
Build is successful but fails to run: ``` terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid Aborted (core dumped) ```
This commit is contained in:
parent
60f6c89b2a
commit
f4afb040a3
|
@ -44,14 +44,7 @@ parts:
|
|||
btop:
|
||||
source: https://github.com/aristocratos/btop
|
||||
source-type: git
|
||||
plugin: make
|
||||
make-parameters:
|
||||
- PREFIX=/usr/local
|
||||
- STATIC=true
|
||||
build-environment:
|
||||
- LC_ALL: C.UTF-8
|
||||
- LANG: C.UTF-8
|
||||
|
||||
plugin: nil
|
||||
build-packages:
|
||||
- coreutils
|
||||
- sed
|
||||
|
@ -67,11 +60,18 @@ parts:
|
|||
- build-essential
|
||||
- gcc-11
|
||||
- g++-11
|
||||
|
||||
|
||||
override-pull: |
|
||||
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=/usr/local
|
||||
make setuid
|
||||
make clean
|
||||
|
||||
homeishome-launch:
|
||||
plugin: nil
|
||||
stage-snaps:
|
||||
|
|
Loading…
Reference in a new issue