diff --git a/Cargo.toml b/Cargo.toml index e93600f..c631b7d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,30 @@ [package] name = "mcst" +description = "Bit Goblin Minecraft server management tool." version = "0.1.0" edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +readme = "README.md" +license = "BSD 2-Clause" +authors = ["Gregory Ballantine "] [dependencies] clap = { version = "3.2", features = ["derive"] } reqwest = { version = "0.11", features = ["blocking"] } shellexpand = "2.1" + +[package.metadata.deb] +license-file = "LICENSE" +depends = "openjdk-17-jre" +section = "games" +assets = [ + ["target/release/mcst", "usr/bin/mcst", "755"], + ["README.md", "usr/share/doc/zealot/README", "644"] +] + +[package.metadata.generate-rpm] +assets = [ + { source = "target/release/mcst", dest = "/usr/bin/mcst", mode = "755" }, + { source = "README.md", dest = "/usr/share/doc/mcst/README", mode = "644"} +] +[package.metadata.generate-rpm.requires] +java-17-openjdk = "*"