summaryrefslogtreecommitdiff
path: root/beyond-the-titanic/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-04-05 20:23:52 -0400
committerB Stack <bgstack15@gmail.com>2019-04-05 20:23:52 -0400
commitbf660b0b1ed3fdda4bf3216d9560a8b15b27be1a (patch)
treed6d9c1f13d3ff6529b0ea729f5d954c76a334892 /beyond-the-titanic/debian/rules
parentbeyond-the-titanic: fix minor spec problems (diff)
downloadstackrpms-bf660b0b1ed3fdda4bf3216d9560a8b15b27be1a.tar.gz
stackrpms-bf660b0b1ed3fdda4bf3216d9560a8b15b27be1a.tar.bz2
stackrpms-bf660b0b1ed3fdda4bf3216d9560a8b15b27be1a.zip
add 7w-0.0.1 rpm and add btt scalable icon
Diffstat (limited to 'beyond-the-titanic/debian/rules')
-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