#!/bin/sh -e
patch -p1 < no-gettext.patch
python setup.py build
python setup.py install \
--root="$1" \
--optimize=1 \
--skip-build
# Remove polkit files.
rm -rf "$1/usr/share/polkit-1"