summaryrefslogtreecommitdiff
path: root/repo/polkit-gnome/polkit-gnome.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-08-10 09:16:34 +0100
committerdavidovski <david@davidovski.xyz>2022-08-10 09:16:34 +0100
commitc1d3da9ca87c414100b1cb969e36b8d7d05b9a74 (patch)
tree1cd983a42e1a221991d09783e08c6c162d4be5cf /repo/polkit-gnome/polkit-gnome.xibuild
parent9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (diff)
added ovmf, lolcat, spice, and squashfstools
Diffstat (limited to 'repo/polkit-gnome/polkit-gnome.xibuild')
-rw-r--r--repo/polkit-gnome/polkit-gnome.xibuild30
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"
+}
+