ajout des fichiers necessaires pour creer un package debian
This commit is contained in:
23
Cargo.toml
23
Cargo.toml
@@ -6,3 +6,26 @@ edition = "2024"
|
||||
[dependencies]
|
||||
eframe = "0.33.0"
|
||||
egui_extras = "0.33.0"
|
||||
|
||||
[package.metadata.deb]
|
||||
maintainer = "Letellier thomas.letellier2812@gmail.com"
|
||||
copyright = "2025, Letellier"
|
||||
license-file = ["LICENSE.txt", "4"]
|
||||
extended-description = """
|
||||
A graphical calculator application made to complete my debian system since there is no calculator in the software minimum tool package.
|
||||
"""
|
||||
depends = "$auto"
|
||||
section = "utility"
|
||||
priority = "optional"
|
||||
assets = [
|
||||
["target/release/calculator", "usr/bin/", "755"],
|
||||
["README.md", "usr/share/doc/hatmos-calculator/", "644"],
|
||||
]
|
||||
|
||||
# Si vous avez une interface graphique
|
||||
[package.metadata.deb.variants.gui]
|
||||
assets = [
|
||||
["target/release/calculator", "usr/bin/", "755"],
|
||||
["assets/calculator.desktop", "usr/share/applications/", "644"],
|
||||
["assets/icon.png", "usr/share/icons/hicolor/256x256/apps/hatmos-calculator.png", "644"],
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user