Skip to content

Commit 8f23228

Browse files
committed
Update snap file
1 parent 0d9f934 commit 8f23228

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

snap/snapcraft.yaml

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: czkawka # you probably want to 'snapcraft register <name>'
2-
base: core18 # the base snap is the execution environment for this snap
2+
base: core20 # the base snap is the execution environment for this snap
33
version: '3.2.0' # just for humans, typically '1.2+git' or '1.3.2'
44
summary: Czkawka - fast data cleaner written in Rust # 79 char long summary
55
description: |
@@ -10,26 +10,18 @@ confinement: strict # use 'strict' once you have the right plugs and slots
1010

1111
parts:
1212
czkawka:
13-
plugin: nil
13+
plugin: rust
1414
source: https://github.com/qarmin/czkawka.git
1515
build-packages:
16-
- libgtk-3-dev
1716
- libasound2-dev
1817
- curl
1918
- gcc
2019
- git
21-
stage-packages:
22-
- libgtk-3-dev
23-
override-build: |
24-
if ! command -v rustup 2>/dev/null; then
25-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile=minimal
26-
export PATH="${HOME}/.cargo/bin:${PATH}"
27-
fi
28-
cargo install --locked --path czkawka_gui --root "${SNAPCRAFT_PART_INSTALL}" --force
20+
rust-path: ["czkawka_gui"]
2921
apps:
3022
czkawka:
3123
command: bin/czkawka_gui
32-
extensions: [gnome-3-28]
24+
extensions: [gnome-3-38]
3325
plugs:
3426
- home
3527
- removable-media

0 commit comments

Comments
 (0)