summaryrefslogtreecommitdiffstats
path: root/extra/polkit/Pkgfile
blob: b1a2066a5ef8fa7f040ba01657ed6baadbfac6ae (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
# Description: Systeme d'abstraction de materiel
# URL: http://hal.freedesktop.org/docs/polkit
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: dbus-glib, expat, eggdbus, gobject-introspection, linux-pam, intltool
# Run on: dbus-glib,expat,eggdbus,linux-pam,intltool

name=polkit
version=0.99
release=2
source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz 
	polkit.pam)

build() {
	unset MAKEFLAGS
        cd $name-$version
        PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
                    --sysconfdir=/etc \
            	    --libexecdir=/usr/lib/polkit \
            	    --mandir=/usr/share/man \
                    --localstatedir=/var \
      		    --disable-static
        make
        make DESTDIR=$PKG install
	install -m644 $SRC/polkit.pam $PKG/etc/pam.d/polkit-1
}