🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: 'polkit-gnome'
pkgver: '0.105'
pkgrel: '7'
pkgdesc: 'Legacy polkit authentication agent for GNOME'
url: 'http://hal.freedesktop.org/docs/polkit-gnome'
arch: x86_64
depends: []
makedepends:
- polkit
- gtk3
source:
- 'https://download.gnome.org/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz'
sha256sums:
- SKIP
hooks:
'post-install': |
name=polkit-gnome
version=0.105
release=7
sed -i "/^AutostartCondition/d" etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
build: |
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --libexecdir=/usr/lib/polkit-gnome
make
package: |
cd ${pkgname}-${pkgver}
make DESTDIR=${PKGDIR} install
mkdir -p ${PKGDIR}/etc/xdg/autostart
cat > ${PKGDIR}/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;
EOF