summaryrefslogtreecommitdiff
path: root/keyboard-leds-trayicons/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard-leds-trayicons/debian/rules')
-rwxr-xr-xkeyboard-leds-trayicons/debian/rules49
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..e871414
--- /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 src${_indir}/capslock-on.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/status/capslock-on.png
+ convert src${_indir}/capslock-on.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/status/capslock-on.png
+ convert src${_indir}/capslock-on.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/status/capslock-on.png
+ convert src${_indir}/capslock-on.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/status/capslock-on.png
+ convert src${_indir}/capslock-on.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/status/capslock-on.png
+
+ convert src${_indir}/capslock-off.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/status/capslock-off.png
+ convert src${_indir}/capslock-off.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/status/capslock-off.png
+ convert src${_indir}/capslock-off.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/status/capslock-off.png
+ convert src${_indir}/capslock-off.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/status/capslock-off.png
+ convert src${_indir}/capslock-off.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/status/capslock-off.png
+
+ convert src${_indir}/numlock-on.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/status/numlock-on.png
+ convert src${_indir}/numlock-on.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/status/numlock-on.png
+ convert src${_indir}/numlock-on.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/status/numlock-on.png
+ convert src${_indir}/numlock-on.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/status/numlock-on.png
+ convert src${_indir}/numlock-on.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/status/numlock-on.png
+
+ convert src${_indir}/numlock-off.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/status/numlock-off.png
+ convert src${_indir}/numlock-off.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/status/numlock-off.png
+ convert src${_indir}/numlock-off.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/status/numlock-off.png
+ convert src${_indir}/numlock-off.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/status/numlock-off.png
+ convert src${_indir}/numlock-off.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/status/numlock-off.png
bgstack15