milis/talimatname/genel/p/polkit-gnome/talimat

31 lines
807 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: GNOME için eski polkit kimlik doğrulama aracı
2016-02-24 01:27:23 +01:00
# URL: http://hal.freedesktop.org/docs/polkit-gnome
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: polkit gtk3
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=polkit-gnome
surum=0.105
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(http://ftp.gnome.org/pub/gnome/sources/$isim/0.105/$isim-$surum.tar.xz)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
./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
}