blob: d8e5b3782843de2c7e7e117c4daa9473e9c709c9 (
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
31
32
33
|
# $Id: PKGBUILD 133630 2011-07-30 09:21:56Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: onestep_ua <onestep@ukr.net>
pkgname=polkit-gnome
pkgver=0.101
pkgrel=3
pkgdesc="PolicyKit integration for the GNOME desktop"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/PolicyKit"
license=('LGPL')
depends=('polkit>=0.101' 'gtk3')
makedepends=('intltool' 'gobject-introspection')
options=(!libtool)
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.bz2
polkit-gnome-authentication-agent-1.desktop)
md5sums=('da6aaff473ed80f8958fd6f67a59defe'
'147a0534adb37452edb4b27cdb2eabb2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/polkit-gnome \
--disable-static --with-gtk=3.0
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 "${srcdir}/polkit-gnome-authentication-agent-1.desktop" \
"${pkgdir}/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop"
}
|