summaryrefslogtreecommitdiff
path: root/extra/polkit-gnome/PKGBUILD
blob: 56577387788298c907483cb801b5038eeb11ba48 (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
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: onestep_ua <onestep@ukr.net>

pkgname=polkit-gnome
pkgver=0.99
pkgrel=1
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.99' 'gtk2>=2.22.0')
makedepends=('intltool' 'gobject-introspection')
replaces=('policykit-gnome')
options=(!libtool !makeflags)
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f1a2565083266bc8c05c60aa7d8a0f6a')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i -e 's/OnlyShowIn=GNOME/NotShowIn=KDE/' src/polkit-gnome-authentication-agent-1.desktop.in.in
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --libexecdir=/usr/lib/polkit-gnome \
      --disable-static --disable-introspection
  make
  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
}