aboutsummaryrefslogblamecommitdiffstats
path: root/main/polkit/APKBUILD
blob: ca100f680e3c924b41b85a8af64b6e0b977536b1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                              
                                                   

                  
           
        

                                                                                
          



                                                                           
                                       

                                       
                                                                                 




                                     

























                                                
                                                                  
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=polkit
_pkgname=PolicyKit
pkgver=0.99
pkgrel=0
pkgdesc="Application development toolkit for controlling system-wide privileges"
url="http://www.freedesktop.org/wiki/Software/PolicyKit"
arch="all"
license="LGPL"
depends=
makedepends="expat-dev glib-dev eggdbus-dev intltool dbus-glib-dev autoconf
	libtool automake gtk-doc"
depends_dev="eggdbus-dev dbus-glib-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://cgit.freedesktop.org/PolicyKit/snapshot/PolicyKit-$pkgver.tar.bz2"

_builddir="$srcdir"/$_pkgname-$pkgver

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./autogen.sh --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--libexecdir=/usr/lib/polkit-1 \
		--localstatedir=/var \
		--disable-static \
		--disable-nls \
		--disable-introspection \
		--with-authfw=shadow \
		--disable-gtk-doc \
		--disable-gtk-doc-html \
		--disable-gtk-doc-pdf
		
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="aad19279bec3ff86153745f2e2c5f9c5  PolicyKit-0.99.tar.bz2"