diff options
author | B Stack <bgstack15@gmail.com> | 2020-02-15 14:27:32 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-02-15 14:27:32 +0000 |
commit | 86fbd7f076b15a860d043f6c2c5b8c88934051e3 (patch) | |
tree | aaad6847ff7fb13ad6440a3d6365dfbe793afe12 /keyboard-leds-trayicons/debian/rules | |
parent | Merge branch 'updates' into 'master' (diff) | |
parent | Merge branch 'klt-bump' into 'mktrayicon-bump' (diff) | |
download | stackrpms-86fbd7f076b15a860d043f6c2c5b8c88934051e3.tar.gz stackrpms-86fbd7f076b15a860d043f6c2c5b8c88934051e3.tar.bz2 stackrpms-86fbd7f076b15a860d043f6c2c5b8c88934051e3.zip |
Merge branch 'mktrayicon-bump' into 'master'
Add mktrayicon (my fork) and keyboard-leds-trayicons
Closes #15
See merge request bgstack15/stackrpms!125
Diffstat (limited to 'keyboard-leds-trayicons/debian/rules')
-rwxr-xr-x | keyboard-leds-trayicons/debian/rules | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/keyboard-leds-trayicons/debian/rules b/keyboard-leds-trayicons/debian/rules new file mode 100755 index 0000000..71c2727 --- /dev/null +++ b/keyboard-leds-trayicons/debian/rules @@ -0,0 +1,49 @@ +#!/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=keyboard-leds-trayicons +export debuilddir="debian" +export buildroot="${debuilddir}/${name}" +export _datadir="/usr/share" +export _bindir="/usr/bin" +export _indir="/usr/share/icons/hicolor/scalable/status" + +%: + dh $@ + +override_dh_auto_install: + dh_auto_install + + mkdir -p ${buildroot}${_datadir}/icons/hicolor/16x16/status + mkdir -p ${buildroot}${_datadir}/icons/hicolor/32x32/status + mkdir -p ${buildroot}${_datadir}/icons/hicolor/48x48/status + mkdir -p ${buildroot}${_datadir}/icons/hicolor/64x64/status + mkdir -p ${buildroot}${_datadir}/icons/hicolor/128x128/status + + convert -filter Lanczos -resize 16x16 -background none -antialias src${_indir}/capslock-on.svg ${buildroot}${_datadir}/icons/hicolor/16x16/status/capslock-on.png + convert -filter Lanczos -resize 32x32 -background none -antialias src${_indir}/capslock-on.svg ${buildroot}${_datadir}/icons/hicolor/32x32/status/capslock-on.png + convert -filter Lanczos -resize 48x48 -background none -antialias src${_indir}/capslock-on.svg ${buildroot}${_datadir}/icons/hicolor/48x48/status/capslock-on.png + convert -filter Lanczos -resize 64x64 -background none -antialias src${_indir}/capslock-on.svg ${buildroot}${_datadir}/icons/hicolor/64x64/status/capslock-on.png + convert -filter Lanczos -resize 128x128 -background none -antialias src${_indir}/capslock-on.svg ${buildroot}${_datadir}/icons/hicolor/128x128/status/capslock-on.png + + convert -filter Lanczos -resize 16x16 -background none -antialias src${_indir}/capslock-off.svg ${buildroot}${_datadir}/icons/hicolor/16x16/status/capslock-off.png + convert -filter Lanczos -resize 32x32 -background none -antialias src${_indir}/capslock-off.svg ${buildroot}${_datadir}/icons/hicolor/32x32/status/capslock-off.png + convert -filter Lanczos -resize 48x48 -background none -antialias src${_indir}/capslock-off.svg ${buildroot}${_datadir}/icons/hicolor/48x48/status/capslock-off.png + convert -filter Lanczos -resize 64x64 -background none -antialias src${_indir}/capslock-off.svg ${buildroot}${_datadir}/icons/hicolor/64x64/status/capslock-off.png + convert -filter Lanczos -resize 128x128 -background none -antialias src${_indir}/capslock-off.svg ${buildroot}${_datadir}/icons/hicolor/128x128/status/capslock-off.png + + convert -filter Lanczos -resize 16x16 -background none -antialias src${_indir}/numlock-on.svg ${buildroot}${_datadir}/icons/hicolor/16x16/status/numlock-on.png + convert -filter Lanczos -resize 32x32 -background none -antialias src${_indir}/numlock-on.svg ${buildroot}${_datadir}/icons/hicolor/32x32/status/numlock-on.png + convert -filter Lanczos -resize 48x48 -background none -antialias src${_indir}/numlock-on.svg ${buildroot}${_datadir}/icons/hicolor/48x48/status/numlock-on.png + convert -filter Lanczos -resize 64x64 -background none -antialias src${_indir}/numlock-on.svg ${buildroot}${_datadir}/icons/hicolor/64x64/status/numlock-on.png + convert -filter Lanczos -resize 128x128 -background none -antialias src${_indir}/numlock-on.svg ${buildroot}${_datadir}/icons/hicolor/128x128/status/numlock-on.png + + convert -filter Lanczos -resize 16x16 -background none -antialias src${_indir}/numlock-off.svg ${buildroot}${_datadir}/icons/hicolor/16x16/status/numlock-off.png + convert -filter Lanczos -resize 32x32 -background none -antialias src${_indir}/numlock-off.svg ${buildroot}${_datadir}/icons/hicolor/32x32/status/numlock-off.png + convert -filter Lanczos -resize 48x48 -background none -antialias src${_indir}/numlock-off.svg ${buildroot}${_datadir}/icons/hicolor/48x48/status/numlock-off.png + convert -filter Lanczos -resize 64x64 -background none -antialias src${_indir}/numlock-off.svg ${buildroot}${_datadir}/icons/hicolor/64x64/status/numlock-off.png + convert -filter Lanczos -resize 128x128 -background none -antialias src${_indir}/numlock-off.svg ${buildroot}${_datadir}/icons/hicolor/128x128/status/numlock-off.png |