summaryrefslogtreecommitdiff
path: root/beyond-the-titanic/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-04-01 03:44:33 +0000
committerB Stack <bgstack15@gmail.com>2019-04-01 03:44:33 +0000
commit8891ab4f3dda81572fb86e62a0723d6586e6b00a (patch)
treef7f6471a9a1b5a26e10ad9f81ebe2b2c4cf1c0f0 /beyond-the-titanic/debian/rules
parentpalemoon dpkg: remove libpulse-dev (diff)
parentbtt: mod rpm spec for copr (diff)
downloadstackrpms-8891ab4f3dda81572fb86e62a0723d6586e6b00a.tar.gz
stackrpms-8891ab4f3dda81572fb86e62a0723d6586e6b00a.tar.bz2
stackrpms-8891ab4f3dda81572fb86e62a0723d6586e6b00a.zip
Merge branch 'beyond-bump' into 'master'
add Beyond the Titanic See merge request bgstack15/stackrpms!50
Diffstat (limited to 'beyond-the-titanic/debian/rules')
-rwxr-xr-xbeyond-the-titanic/debian/rules50
1 files changed, 50 insertions, 0 deletions
diff --git a/beyond-the-titanic/debian/rules b/beyond-the-titanic/debian/rules
new file mode 100755
index 0000000..5721110
--- /dev/null
+++ b/beyond-the-titanic/debian/rules
@@ -0,0 +1,50 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+export appname=beyond-the-titanic
+export debuilddir="debian"
+export buildroot="${debuilddir}/${appname}"
+export _datadir="/usr/share"
+export _bindir="/usr/bin"
+
+%:
+ dh $@
+
+# FIXME: will need to override the autoinstall to do icon conversions.
+override_dh_auto_install:
+ dh_auto_install -- prefix=/usr
+
+ # desktop files
+ # handled by upstream make install
+ :
+
+ # application start script
+ # handled by upstream make install
+ :
+
+ # man pages
+ # none
+ :
+
+ # mimetypes
+ # none
+ :
+
+ # icons
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/16x16/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/32x32/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/48x48/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/64x64/apps
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/128x128/apps
+ convert ship.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/apps/${appname}.png
+ convert ship.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/apps/${appname}.png
+ 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
+
+#override_dh_install:
+# dh_install --list-missing -X.pyc -X.pyo
bgstack15