From: Thomas Glanzmann Date: Sun, 12 Nov 2023 10:28:15 +0000 (+0100) Subject: add build script for speakersafeteyd X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/31b39e6a66a20e6b984524f3f63117ac77f2bf18 add build script for speakersafeteyd --- diff --git a/meta.sh b/meta.sh index 376d4e5..999f97b 100644 --- a/meta.sh +++ b/meta.sh @@ -12,14 +12,14 @@ unset LANG mkdir -p build cd build -export META_VERSION=6.5.0-1 +export META_VERSION=6.5.0-2 rm -rf linux-image-asahi_${META_VERSION}_arm64 mkdir -p linux-image-asahi_${META_VERSION}_arm64/DEBIAN cat > linux-image-asahi_${META_VERSION}_arm64/DEBIAN/control <> Cargo.toml +[package.metadata.deb] +maintainer = "Thomas Glanzmann " +copyright = "The Asahi Linux Contributors" +license-file = ["LICENSE", "0"] +depends = "$auto" +assets = [ + ["LICENSE", "/var/lib/speakersafetyd/blackbox/", "644"], + ["target/release/speakersafetyd", "/usr/bin/speakersafetyd", "755"], + ["95-speakersafetyd.rules", "/usr/lib/udev/rules.d/95-speakersafetyd.rules", "644"], + ["speakersafetyd.service", "/usr/lib/systemd/system/speakersafetyd.service", "644"], + ["conf/apple/*", "/usr/share/speakersafetyd/apple/", "644"], +] +EOF + +make +cargo install cargo-deb +cargo deb