blob: 3042c2b40041e0d15c212dbef591401bbb93f452 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
}
|