aboutsummaryrefslogtreecommitdiffstats
path: root/testing/polkit-gnome/APKBUILD
blob: bf43b192803d1253e8ba9e3ba478d1721ece4e18 (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
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=polkit-gnome
pkgver=0.101
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-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
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="da6aaff473ed80f8958fd6f67a59defe  polkit-gnome-0.101.tar.bz2"