1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- --libdir=/usr/lib
execute_after_dh_install:
mkdir -p debian/gnome-browser-connector/usr/share/gnome-browser-connector
mv debian/gnome-browser-connector/etc/opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json \
debian/gnome-browser-connector/usr/share/gnome-browser-connector/org.gnome.chrome_gnome_shell.json
mv debian/gnome-browser-connector/etc/opt/chrome/native-messaging-hosts/org.gnome.browser_connector.json \
debian/gnome-browser-connector/usr/share/gnome-browser-connector/org.gnome.browser_connector.json
rm -rf debian/gnome-browser-connector/etc/opt
execute_before_dh_install:
find debian/ -name '__pycache__' -print | xargs -r rm -rf
|