rendered paste body#!/usr/bin/make -f
%:
dh --with quilt $@
clean:
dh_quilt_unpatch
rm -fr build bleachbit-root.desktop
dh $@
override_dh_auto_install:
python setup.py install --root=$(CURDIR)/debian/bleachbit --install-lib=/usr/share/bleachbit
make -C po install DESTDIR=$(CURDIR)/debian/bleachbit
sed -e 's/Name=BleachBit/Name=BleachBit \(as root\)/' bleachbit.desktop > bleachbit-root.desktop && \
sed -i 's/TryExec=bleachbit/TryExec=su-to-root/' bleachbit-root.desktop && \
sed -i 's/Exec=bleachbit/Exec=su-to-root -X -c bleachbit/' bleachbit-root.desktop
override_dh_fixperms:
dh_fixperms
chmod +x debian/bleachbit/usr/share/bleachbit/bleachbit/GUI.py