Skip to content

Commit 75a8882

Browse files
committed
Add quick-and-dirty Debian package spec for cargo-deb
That's not a package you can show to your mother, but it makes easier to install/update/uninstall exa in systems without cargo or rustc.
1 parent ec47269 commit 75a8882

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Cargo.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,17 @@ default-features = false
5454

5555
[dependencies.zoneinfo_compiled]
5656
git = "https://github.com/rust-datetime/zoneinfo-compiled.git"
57+
58+
[package.metadata.deb]
59+
license-file = [ "LICENCE" ]
60+
depends = "$auto"
61+
extended-description = """
62+
exa is a replacement for ls written in Rust.
63+
"""
64+
section = "utils"
65+
priority = "optional"
66+
assets = [
67+
[ "target/release/exa", "/usr/bin/exa", "0755" ],
68+
[ "contrib/man/exa.1", "/usr/share/man/man1/exa.1", "0644" ],
69+
[ "contrib/completions.bash", "/etc/bash_completion.d/exa", "0644" ],
70+
]

0 commit comments

Comments
 (0)