You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
czkawka/snap/snapcraft.yaml

36 lines
1.3 KiB
YAML

4 years ago
name: czkawka # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
3 years ago
version: '2.3.2' # just for humans, typically '1.2+git' or '1.3.2'
4 years ago
summary: Czkawka - fast data cleaner written in Rust # 79 char long summary
description: |
Czkawka is very fast and feature rich cleaner which finds file duplicates, empty folders and files, duplicated music, similar images or the biggest files in selected directories.
This program have frontend written in modern GTK 3.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: classic # use 'strict' once you have the right plugs and slots
4 years ago
parts:
czkawka:
plugin: nil
source: https://github.com/qarmin/czkawka.git
build-packages:
- libgtk-3-dev
- libasound2-dev
4 years ago
- curl
- gcc
- git
stage-packages:
- libgtk-3-dev
- libasound2-dev
4 years ago
override-build: |
if ! command -v rustup 2>/dev/null; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile=minimal
export PATH="${HOME}/.cargo/bin:${PATH}"
fi
cargo install --locked --path czkawka_gui --root "${SNAPCRAFT_PART_INSTALL}" --force
apps:
czkawka:
command: bin/czkawka_gui