Update debian/rules

This commit is contained in:
ferreo 2024-08-25 16:01:44 +02:00
parent 999657a878
commit 1ea2b87d54

7
debian/rules vendored
View File

@ -21,3 +21,10 @@ endif
override_dh_auto_install:
/root/.cargo/bin/cargo fetch
/root/.cargo/bin/cargo build --release
override_dh_install:
dh_install
mkdir -p debianwayfreeze/usr/bin/
cp -vf target/release/wayfreeze debian/wayfreeze/usr/bin/
chmod 755 debian/wayfreeze/usr/bin/wayfreeze
chmod +x debian/wayfreeze/usr/bin/wayfreeze