Fix desktop file and install it into autostart directory

This commit is contained in:
2025-08-31 14:10:12 +03:00
parent d1cb816172
commit 9fdb9a6670
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
name: polkit-gnome name: polkit-gnome
description: Polkit authentication agent for GNOME description: Polkit authentication agent for GNOME
version: 0.105 version: 0.105
revision: 2
url: https://gitlab.gnome.org/Archive/policykit-gnome url: https://gitlab.gnome.org/Archive/policykit-gnome
license: LGPL license: LGPL
architecture: any architecture: any
@@ -1,3 +1,4 @@
[Desktop Entry]
Name=PolicyKit Authentication Agent Name=PolicyKit Authentication Agent
Comment=PolicyKit Authentication Agent Comment=PolicyKit Authentication Agent
Exec=/usr/libexec/polkit-gnome-authentication-agent-1 Exec=/usr/libexec/polkit-gnome-authentication-agent-1
+4 -1
View File
@@ -23,7 +23,10 @@ build() {
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
make DESTDIR="$BPM_OUTPUT" install make DESTDIR="$BPM_OUTPUT" install
install -Dm644 "$BPM_WORKDIR"/polkit-gnome-authentication-agent-1.desktop -t "$BPM_OUTPUT"/usr/share/applications/
# Install autostart desktop file
install -Dm644 "$BPM_WORKDIR"/polkit-gnome-authentication-agent-1.desktop "$BPM_OUTPUT"/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/polkit-gnome/COPYING install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/polkit-gnome/COPYING
} }