summaryrefslogtreecommitdiff
path: root/7w/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-04-05 20:49:46 -0400
committerB Stack <bgstack15@gmail.com>2019-04-05 20:49:46 -0400
commitb6e63e1710213c0e14277a4cf3e28deb16d2b353 (patch)
tree7e3f85bef1df908581415ad473bf3e4b8eaba832 /7w/debian/rules
parentadd 7w-0.0.1 rpm and add btt scalable icon (diff)
downloadstackrpms-b6e63e1710213c0e14277a4cf3e28deb16d2b353.tar.gz
stackrpms-b6e63e1710213c0e14277a4cf3e28deb16d2b353.tar.bz2
stackrpms-b6e63e1710213c0e14277a4cf3e28deb16d2b353.zip
7w dpkg
Diffstat (limited to '7w/debian/rules')
-rwxr-xr-x7w/debian/rules60
1 files changed, 60 insertions, 0 deletions
diff --git a/7w/debian/rules b/7w/debian/rules
new file mode 100755
index 0000000..6fc2ad5
--- /dev/null
+++ b/7w/debian/rules
@@ -0,0 +1,60 @@
+#!/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 name=7w
+export debuilddir="debian"
+export buildroot="${debuilddir}/${name}"
+export _datadir="/usr/share"
+export _bindir="/usr/bin"
+export _licensedir="${_datadir}/licenses"
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ dh_auto_build --sourcedirectory=Release
+
+override_dh_auto_install:
+# upstream has no install instructions
+ #dh_auto_install -- prefix=/usr
+
+ # desktop files
+ # handled by install file
+ :
+
+ # application start script
+ # none
+ :
+
+ # 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 debian/7w.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/apps/${name}.png
+ convert debian/7w.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/apps/${name}.png
+ convert debian/7w.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/apps/${name}.png
+ convert debian/7w.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/apps/${name}.png
+ convert debian/7w.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/apps/${name}.png
+ # scalable icon handled by install file
+ #mkdir -p ${buildroot}${_datadir}/icons/hicolor/scalable/apps
+ #install -m0644 7w.svg ${buildroot}${_datadir}/icons/hicolor/scalable/apps
+
+#override_dh_install:
+# dh_install --list-missing -X.pyc -X.pyo
+
+override_dh_auto_clean:
+ dh_auto_clean --sourcedirectory=Release
bgstack15