31 lines
829 B
Plaintext
31 lines
829 B
Plaintext
# Description: Legacy polkit authentication agent for GNOME
|
|
# URL: http://hal.freedesktop.org/docs/polkit-gnome
|
|
# Packager: b at juglas dot name
|
|
# Depends on: polkit gtk3
|
|
|
|
name=polkit-gnome
|
|
version=0.105
|
|
release=1
|
|
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/$name/0.105/$name-$version.tar.xz)
|
|
build() {
|
|
cd $name-$version
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/lib/polkit-gnome
|
|
make
|
|
make DESTDIR=$PKG install
|
|
mkdir -p $PKG/etc/xdg/autostart
|
|
cat > $PKG/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop << "EOF"
|
|
[Desktop Entry]
|
|
Name=PolicyKit Authentication Agent
|
|
Comment=PolicyKit Authentication Agent
|
|
Exec=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
Terminal=false
|
|
Type=Application
|
|
Categories=
|
|
NoDisplay=true
|
|
OnlyShowIn=GNOME;XFCE;Unity;
|
|
AutostartCondition=GNOME3 unless-session gnome
|
|
EOF
|
|
}
|