mirror of
https://github.com/YaLTeR/niri.git
synced 2024-09-11 12:35:58 +03:00
Add cargo-generate-rpm metadata
This commit is contained in:
parent
d203e70b0f
commit
5c8bcf588d
11
Cargo.toml
11
Cargo.toml
@ -43,3 +43,14 @@ profile-with-tracy = ["profiling/profile-with-tracy", "tracy-client/default"]
|
|||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
overflow-checks = true
|
overflow-checks = true
|
||||||
|
|
||||||
|
[package.metadata.generate-rpm]
|
||||||
|
assets = [
|
||||||
|
{ source = "target/release/niri", dest = "/usr/bin/", mode = "755" },
|
||||||
|
{ source = "resources/niri-session", dest = "/usr/bin/", mode = "755" },
|
||||||
|
{ source = "resources/niri.desktop", dest = "/usr/share/wayland-sessions/", mode = "644" },
|
||||||
|
{ source = "resources/niri.service", dest = "/usr/lib/systemd/user/", mode = "644" },
|
||||||
|
]
|
||||||
|
[package.metadata.generate-rpm.requires]
|
||||||
|
alacritty = "*"
|
||||||
|
fuzzel = "*"
|
||||||
|
Loading…
Reference in New Issue
Block a user