# Note: depends on zlib
# Note: depends on spidermonkey1
# Note: depends on docbook-xsl
# Note: depends on pkg-config
# Note: depends on glib
# Note: depends on expat
# Note: depends on intltool
wget -c http://www.freedesktop.org/software/polkit/releases/polkit-0.113.tar.gz
tar -xzf polkit-0.113.tar.gz
cd polkit-0.113
mkdir -p build
cd build
../configure --prefix="/usr" --with-authfw="shadow" --sysconfdir="/etc"  ||  ../configure --prefix="/usr" --with-authfw="shadow" --sysconfdir="/etc" --disable-libsystemd-login
make # Doesn't mind -j#
useradd -s /sbin/nologin -r polkitd
make install