Skip to content

Commit 9c98b26

Browse files
authored
Merge pull request ogham#225 from ittner/cargo-deb-spec
Add quick-and-dirty Debian package spec for cargo-deb
2 parents 5575c22 + 5683b57 commit 9c98b26

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Cargo.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,18 @@ opt-level = 3
6363
debug = false
6464
lto = true
6565
panic = "abort"
66+
67+
68+
[package.metadata.deb]
69+
license-file = [ "LICENCE" ]
70+
depends = "$auto"
71+
extended-description = """
72+
exa is a replacement for ls written in Rust.
73+
"""
74+
section = "utils"
75+
priority = "optional"
76+
assets = [
77+
[ "target/release/exa", "/usr/bin/exa", "0755" ],
78+
[ "contrib/man/exa.1", "/usr/share/man/man1/exa.1", "0644" ],
79+
[ "contrib/completions.bash", "/etc/bash_completion.d/exa", "0644" ],
80+
]

0 commit comments

Comments
 (0)