Skip to content

Commit e33eb70

Browse files
committed
Add metadata for cargo-deb
1 parent 5a2d001 commit e33eb70

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,19 @@ nix = "0.13.0"
1919
[build-dependencies]
2020
clap = "2.33.0"
2121
indoc = "0.3.1"
22+
23+
[package.metadata.deb]
24+
maintainer = "Maximilian Luz <[email protected]>"
25+
license-file = ["LICENSE", "0"]
26+
extended-description = """\
27+
Control various aspects of Microsoft Surface devices, such as
28+
performance-modes and dGPU power, from the Command Line."""
29+
depends = "$auto"
30+
section = "utility"
31+
priority = "optional"
32+
assets = [
33+
["target/release/surface", "usr/bin/", "755"],
34+
["target/surface.bash", "usr/share/bash-completion/completions/surface", "644"],
35+
["target/_surface", "usr/share/zsh/vendor-completions/_surface", "644"],
36+
["target/surface.fish", "usr/share/fish/completions/surface.fish", "644"],
37+
]

0 commit comments

Comments
 (0)