summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeltoche <dev@halium.fr>2018-11-25 12:42:07 +0100
committerPeltoche <dev@halium.fr>2018-11-25 12:45:04 +0100
commitbadc6985f261d8820d8d6737f735d0153c228ed0 (patch)
tree82e18758e6f9ea6836235dfd0a3c27308f942eb5
parent6d14757fd70d00a40f8cf991fb245f055a9e2ba6 (diff)
Add metadatas for the cargo deb command
-rw-r--r--Cargo.toml13
1 files changed, 12 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a6bab98..d9b3d33 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@ categories = ["command-line-utilities"]
description = "A ls command with a lot of pretty colors."
homepage = "https://github.com/Peltoche/lsd"
keywords = ["ls"]
-license-file = "./LICENSE"
+license = "./LICENSE"
name = "lsd"
readme = "./README.md"
repository = "https://github.com/Peltoche/lsd"
@@ -19,3 +19,14 @@ size = "0.1.1"
terminal_size = "0.1.8"
time = "0.1.40"
users = "0.8.0"
+
+[package.metadata.deb]
+maintainer = "Peltoche <dev@halium.fr>"
+license-file = ["LICENSE", "2"]
+depends = "$auto"
+section = "utility"
+priority = "optional"
+assets = [
+ ["target/release/lsd", "usr/bin/", "755"],
+ ["README.md", "usr/share/doc/cargo-deb/README", "644"],
+]