diff --git a/pkg.info b/pkg.info index 3f75684..807ad56 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,7 @@ name: polkit-gnome description: Polkit authentication agent for GNOME version: 0.105 +revision: 2 url: https://gitlab.gnome.org/Archive/policykit-gnome license: LGPL architecture: any diff --git a/source-files/polkit-gnome-authentication-agent-1.desktop b/source-files/polkit-gnome-authentication-agent-1.desktop index b0c56bf..d546d00 100644 --- a/source-files/polkit-gnome-authentication-agent-1.desktop +++ b/source-files/polkit-gnome-authentication-agent-1.desktop @@ -1,3 +1,4 @@ +[Desktop Entry] Name=PolicyKit Authentication Agent Comment=PolicyKit Authentication Agent Exec=/usr/libexec/polkit-gnome-authentication-agent-1 diff --git a/source.sh b/source.sh index f2366c3..fe4cd42 100644 --- a/source.sh +++ b/source.sh @@ -23,7 +23,10 @@ build() { # This function is used to move the compiled files into the output directory package() { 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 }