summaryrefslogtreecommitdiff
path: root/beyond-the-titanic/debian
diff options
context:
space:
mode:
Diffstat (limited to 'beyond-the-titanic/debian')
-rwxr-xr-xbeyond-the-titanic/debian/rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/beyond-the-titanic/debian/rules b/beyond-the-titanic/debian/rules
index 5721110..1818b60 100755
--- a/beyond-the-titanic/debian/rules
+++ b/beyond-the-titanic/debian/rules
@@ -12,9 +12,8 @@ export _datadir="/usr/share"
export _bindir="/usr/bin"
%:
- dh $@
+ dh $@
-# FIXME: will need to override the autoinstall to do icon conversions.
override_dh_auto_install:
dh_auto_install -- prefix=/usr
@@ -45,6 +44,8 @@ override_dh_auto_install:
convert ship.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/apps/${appname}.png
convert ship.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/apps/${appname}.png
convert ship.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/apps/${appname}.png
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/scalable/apps
+ install -m0644 ship.svg ${buildroot}${_datadir}/icons/hicolor/scalable/apps
#override_dh_install:
# dh_install --list-missing -X.pyc -X.pyo
bgstack15