]>
git.zerfleddert.de Git - m1-debian/blob - speakersafetyd.sh
3 # SPDX-License-Identifier: MIT
12 export CARGO_HOME
="$(pwd)/build/cargo"
13 export RUSTUP_HOME
="$(pwd)/build/rust"
14 source "$(pwd)/build/cargo/env"
21 test -d speakersafetyd
/ || git clone https
://github.com
/AsahiLinux
/speakersafetyd
24 git
reset --hard origin
/HEAD
26 cat <<'EOF' >> Cargo.toml
27 [package.metadata.deb]
28 maintainer = "Thomas Glanzmann <thomas@glanzmann.de>"
29 copyright = "The Asahi Linux Contributors"
30 license-file = ["LICENSE", "0"]
33 ["LICENSE", "/var/lib/speakersafetyd/blackbox/", "644"],
34 ["target/release/speakersafetyd", "/usr/bin/speakersafetyd", "755"],
35 ["95-speakersafetyd.rules", "/usr/lib/udev/rules.d/95-speakersafetyd.rules", "644"],
36 ["speakersafetyd.service", "/usr/lib/systemd/system/speakersafetyd.service", "644"],
37 ["conf/apple/*", "/usr/share/speakersafetyd/apple/", "644"],
42 cargo
install cargo-deb