From eb159cb6289c4d5fff5a8f8bf3f2069cdebddeb0 Mon Sep 17 00:00:00 2001 From: ferreo Date: Sat, 9 Nov 2024 15:37:41 +0100 Subject: [PATCH] Update debian/rules --- debian/rules | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/debian/rules b/debian/rules index 449d113..12b857d 100755 --- a/debian/rules +++ b/debian/rules @@ -18,27 +18,17 @@ endif override_dh_auto_install: /root/.cargo/bin/cargo fetch - /root/.cargo/bin/cargo build --release --workspace + /root/.cargo/bin/cargo build -p lact --release override_dh_install: dh_install - mkdir -p debian/nushell/usr/bin/ - ls target/release - cp -vf target/release/nu debian/nushell/usr/bin/ - chmod 755 debian/nushell/usr/bin/nu - chmod +x debian/nushell/usr/bin/nu - cp -vf target/release/nu_plugin_formats debian/nushell/usr/bin/ - chmod 755 debian/nushell/usr/bin/nu_plugin_formats - chmod +x debian/nushell/usr/bin/nu_plugin_formats - cp -vf target/release/nu_plugin_gstat debian/nushell/usr/bin/ - chmod 755 debian/nushell/usr/bin/nu_plugin_gstat - chmod +x debian/nushell/usr/bin/nu_plugin_gstat - cp -vf target/release/nu_plugin_inc debian/nushell/usr/bin/ - chmod 755 debian/nushell/usr/bin/nu_plugin_inc - chmod +x debian/nushell/usr/bin/nu_plugin_inc - cp -vf target/release/nu_plugin_polars debian/nushell/usr/bin/ - chmod 755 debian/nushell/usr/bin/nu_plugin_polars - chmod +x debian/nushell/usr/bin/nu_plugin_polars - cp -vf target/release/nu_plugin_query debian/nushell/usr/bin/ - chmod 755 debian/nushell/usr/bin/nu_plugin_query - chmod +x debian/nushell/usr/bin/nu_plugin_query + mkdir -p debian/lact/usr/bin/ + mkdir -p debian/lact/usr/share/applications/ + mkdir -p debian/lact/usr/share/pixmaps/ + mkdir -p debian/lact/usr/share/icons/hicolor/scalable/apps/ + mkdir -p debian/lact/usr/lib/systemd/system/ + install -Dm644 res/lactd.service debian/lact/usr/lib/systemd/system/lactd.service + install -Dm644 res/io.github.lact-linux.desktop debian/lact/usr/share/applications/io.github.lact-linux.desktop + install -Dm644 res/io.github.lact-linux.png debian/lact/usr/share/pixmaps/io.github.lact-linux.png + install -Dm644 res/io.github.lact-linux.svg debian/lact/usr/share/icons/hicolor/scalable/apps/io.github.lact-linux.svg + install -Dm755 target/release/lact debian/lact/usr/bin/lact