diff options
author | B Stack <bgstack15@gmail.com> | 2019-04-06 00:52:39 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-04-06 00:52:39 +0000 |
commit | 37ce2e21db7c7282a69c261c5969e6c78819d9bd (patch) | |
tree | 7e3f85bef1df908581415ad473bf3e4b8eaba832 /7w/debian/rules | |
parent | beyond-the-titanic: fix minor spec problems (diff) | |
parent | 7w dpkg (diff) | |
download | stackrpms-37ce2e21db7c7282a69c261c5969e6c78819d9bd.tar.gz stackrpms-37ce2e21db7c7282a69c261c5969e6c78819d9bd.tar.bz2 stackrpms-37ce2e21db7c7282a69c261c5969e6c78819d9bd.zip |
Merge branch '7w-bump' into 'master'
add 7w game
See merge request bgstack15/stackrpms!51
Diffstat (limited to '7w/debian/rules')
-rwxr-xr-x | 7w/debian/rules | 60 |
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 |