summaryrefslogtreecommitdiffstats
path: root/testing/polkit-gnome/APKBUILD
blob: 8f1592890abd10d7a5463832cb2c606f1df5043b (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
34
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=polkit-gnome
pkgver=0.100
pkgrel=1
pkgdesc="PolicyKit integration for the GNOME desktop"
url="http://www.freedesktop.org/wiki/Software/PolicyKit"
arch="all"
license="LGPL"
depends=""
makedepends="polkit-dev gtk+-dev gobject-introspection"
subpackages="$pkgname-dev"
source="http://hal.freedesktop.org/releases/polkit-gnome-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libexecdir=/usr/lib/polkit-gnome \
		--disable-static \
		--disable-introspection \
		|| return 1
	make
}

package() {
	cd "$_builddir"
	make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="0554fe631e923ed560d65b60661cbbe1  polkit-gnome-0.100.tar.bz2"