update packaging

This commit is contained in:
Ilya Zlobintsev 2023-01-01 23:25:37 +02:00
parent 5fe5f2e03e
commit 0b4c42da12
6 changed files with 15 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/target
AppDir/
*.glade\~

View File

@ -7,9 +7,15 @@ build-release:
install:
install -Dm755 target/release/lact-daemon ${DESTDIR}/bin/lact-daemon
install -Dm755 target/release/lact-gui ${DESTDIR}/bin/lact-gui
install -Dm755 lactd.service ${DESTDIR}/lib/systemd/system/lactd.service
install -Dm755 target/release/lact-cli ${DESTDIR}/bin/lact-cli
install -Dm755 res/lactd.service ${DESTDIR}/lib/systemd/system/lactd.service
install -Dm755 res/lact.desktop ${DESTDIR}/share/applications/lact.desktop
install -Dm755 res/lact.png ${DESTDIR}/share/pixmaps/lact.png
uninstall:
rm ${DESTDIR}/bin/lact-daemon
rm ${DESTDIR}/bin/lact-gui
rm ${DESTDIR}/bin/lact-cli
rm ${DESTDIR}/lib/systemd/system/lactd.service
rm ${DESTDIR}/share/applications/lact.desktop
rm ${DESTDIR}/share/pixmaps/lact.png

View File

@ -1,5 +0,0 @@
[Desktop Entry]
Type=Application
Name=LACT
Description=AMDGPU Control Application
Exec=lact-gui

7
res/lact.desktop Normal file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=LACT
GenericName=AMDGPU Control Application
Exec=lact-gui
Icon=lact
Categories=System;

BIN
res/lact.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB