Fix Snap build (#965)
* Fix Snap build Rustc & cargo are now installed using the script provided by rust-lang.org. Their versions were bumped to 1.68.2. The (outdated) versions bundled to core22 are not used anymore. (Solution copied from https://forum.snapcraft.io/t/correct-snapcraft-syntax-for-rust-based-snap-on-core22/30947/5) * Added additional metadata * Remove unnecessaty icon attribute
This commit is contained in:
parent
0d4ae0a31b
commit
67e648a5ab
|
@ -9,13 +9,18 @@ grade: stable # must be 'stable' to release into candidate/stable channels
|
||||||
confinement: strict # use 'strict' once you have the right plugs and slots
|
confinement: strict # use 'strict' once you have the right plugs and slots
|
||||||
compression: lzo
|
compression: lzo
|
||||||
|
|
||||||
|
license: MIT
|
||||||
|
website: https://github.com/qarmin/czkawka
|
||||||
|
issues: https://github.com/qarmin/czkawka/issues
|
||||||
|
donation: https://github.com/sponsors/qarmin
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
user-part:
|
rust-deps:
|
||||||
source: .
|
plugin: nil
|
||||||
plugin: rust
|
override-pull: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.68.2
|
||||||
build-packages: [cargo, rustc]
|
|
||||||
czkawka:
|
czkawka:
|
||||||
plugin: rust
|
plugin: rust
|
||||||
|
after: [ rust-deps ]
|
||||||
source: https://github.com/qarmin/czkawka.git
|
source: https://github.com/qarmin/czkawka.git
|
||||||
build-packages:
|
build-packages:
|
||||||
- curl
|
- curl
|
||||||
|
|
Loading…
Reference in a new issue