aboutsummaryrefslogtreecommitdiffstats
path: root/testing/polkit-gnome/APKBUILD
blob: 27a8a2ba3b138744da690c3780fce4f3e72e3425 (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.101
pkgrel=0
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-dev"
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="da6aaff473ed80f8958fd6f67a59defe  polkit-gnome-0.101.tar.bz2"