diff options
Diffstat (limited to 'repo/polkit-gnome/polkit-gnome.xibuild')
-rw-r--r-- | repo/polkit-gnome/polkit-gnome.xibuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/polkit-gnome/polkit-gnome.xibuild b/repo/polkit-gnome/polkit-gnome.xibuild new file mode 100644 index 0000000..3042c2b --- /dev/null +++ b/repo/polkit-gnome/polkit-gnome.xibuild @@ -0,0 +1,30 @@ +#!/bin/sh + +NAME="polkit-gnome" +DESC="PolicyKit integration for the GNOME desktop" + +MAKEDEPS="gtk3 polkit intltool" + +PKG_VER=0.105 +SOURCE="https://download.gnome.org/sources/polkit-gnome/$PKG_VER/polkit-gnome-$PKG_VER.tar.xz" + +ADDITIONAL=" +polkit-gnome-authentication-agent-1.desktop +" + +build() { + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --libexecdir=/usr/lib/polkit-gnome + make +} + +package() { + make DESTDIR="$PKG_DEST" install + install -Dm644 "$BUILD_ROOT/polkit-gnome-authentication-agent-1.desktop" \ + "$PKG_DEST/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop" +} + |