diff --git a/Cargo.toml b/Cargo.toml index 9bec438501..01e33f54dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,3 +59,26 @@ features = ["std"] [dev-dependencies] assert_fs = "1.0" + +[package.metadata.deb] +name = "i3status-rust" +maintainer = "Aaron Jacobs " +extended-description = """\ +Provides provides a way to display 'blocks' of system information (time, \ +battery status, volume, etc) on the i3 (https://i3wm.org/) bar. +. +Also compatible with Sway (http://swaywm.org/). +. +For a list of available blocks, see the block documentation in \ +usr/share/doc/i3status-rust/blocks.md.""" +license-file = ["LICENSE", "0"] +depends = "$auto, libdbus-1-3 (>=1.6), libpulse0" +section = "utils" +priority = "optional" +assets = [ + ["target/release/i3status-rs", "usr/bin/", "755"], + ["README.md", "usr/share/doc/i3status-rust/README", "644"], + ["doc/blocks.md", "usr/share/doc/i3status-rust/blocks.md", "644"], + ["files/icons/*", "usr/share/i3status-rust/icons/", "644"], + ["files/themes/*", "usr/share/i3status-rust/themes/", "644"], +]