Fix desktop file and install it into autostart directory
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[Desktop Entry]
|
||||
Name=PolicyKit Authentication Agent
|
||||
Comment=PolicyKit Authentication Agent
|
||||
Exec=/usr/libexec/polkit-gnome-authentication-agent-1
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user