diff options
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 |