diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-05-15 08:44:23 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-05-15 08:49:48 +0200 |
commit | 315cf2cd8bf5dbf156aa5610fe4c64a07d04abce (patch) | |
tree | 3919035d5a178fe3e67b3a739b5a0def6d8a0e91 /debian/rules | |
parent | 8c632a02adbf922a812b8658a8b34dd12352dedf (diff) | |
download | ayatana-webmail-315cf2cd8bf5dbf156aa5610fe4c64a07d04abce.tar.gz ayatana-webmail-315cf2cd8bf5dbf156aa5610fe4c64a07d04abce.tar.bz2 ayatana-webmail-315cf2cd8bf5dbf156aa5610fe4c64a07d04abce.zip |
d/rules: Add fixes/improvements from official DEB package.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules index 004e738..cd829ee 100755 --- a/debian/rules +++ b/debian/rules @@ -1,14 +1,30 @@ #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- +export PYBUILD_SYSTEM=distutils +export PYBUILD_NAME=ayatana-webmail + %: - dh $@ --with python3 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild -override_dh_auto_clean: - dh_auto_clean +override_dh_clean: + dh_clean + rm -Rfv .pybuild/ rm -Rfv data/usr/share/locale - rm -fv ayatana-webmail.egg-info/PKG-INFO - rm -fv ayatana-webmail.egg-info/SOURCES.txt - rm -fv ayatana-webmail.egg-info/dependency_links.txt - rm -fv ayatana-webmail.egg-info/requires.txt - rm -fv ayatana-webmail.egg-info/top_level.txt + rm -fv ayatanawebmail.egg-info/PKG-INFO + rm -fv ayatanawebmail.egg-info/SOURCES.txt + rm -fv ayatanawebmail.egg-info/dependency_links.txt + rm -fv ayatanawebmail.egg-info/requires.txt + rm -fv ayatanawebmail.egg-info/top_level.txt + rm -f data/etc/xdg/autostart/ayatana-webmail-autostart.desktop + rm -f data/usr/share/applications/ayatana-webmail.desktop + +override_dh_fixperms: + dh_fixperms + chmod a-x debian/*/usr/share/icons/hicolor/scalable/status/ayatanawebmail-messages-new.svg + chmod a-x debian/*/usr/share/icons/hicolor/scalable/status/ayatanawebmail-messages.svg + chmod a-x debian/*/usr/share/glib-2.0/schemas/org.ayatana.webmail.gschema.xml + chmod a-x debian/*/usr/share/icons/hicolor/scalable/apps/ayatanawebmail.svg + +override_dh_installchangelogs: + dh_installchangelogs NEWS |