# 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: expat, linux-pam, pambase, js, gobject-introspection, intltool # Run on: expat,linux-pam,pambase name=polkit version=0.107 release=1 source=(http://www.freedesktop.org/software/polkit/releases/polkit-$version.tar.gz) build() { cd $name-$version unset MAKEFLAGS PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/polkit-1 \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-examples \ --enable-libsystemd-login=yes \ --with-polkitd-user=polkitd \ --with-os-type=NuTyX make make DESTDIR=$PKG install mkdir -p $PKG/var/{lib,run}/polkit-1 chmod 4755 $PKG/usr/lib/polkit-1/polkit-agent-helper-1 $PKG/usr/bin/pkexec chown -R polkitd:polkitd $PKG/etc/polkit-1/rules.d $PKG/usr/share/polkit-1/rules.d chmod -R 700 $PKG/etc/polkit-1/rules.d $PKG/usr/share/polkit-1/rules.d sed "s|unix-group:wheel|unix-group:admin|" -i $PKG/etc/polkit-1/rules.d/50-default.rules }