Bug#513003: #513003 - progress?
Your package is perfect!
However I have some minor suggestions:
- You could take advantage of the debhelper 7 easy debian/rules, see
the attachment from bleachbit package, (the new quilt package uses
dh_quilt_unpatch, so build-depends of bleachbit has "debhelper (>= 7),
quilt (>= 0.46-7)")
- Minor copyright symbol issues: "C)" or "(C)" in your
debian/copyright should be "©".
#!/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
Reply to: