diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-20 21:16:50 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-03-20 21:16:50 +0000 |
commit | 0e36a26fb2bbde0eb2cda69bd2e6435903804285 (patch) | |
tree | dfd7778291d9496922b89028f4763b3cf0456a0e /keyboard-leds-trayicons/debian/rules | |
parent | Merge branch 'mime_types_editor-bump' into 'master' (diff) | |
parent | keyboard-leds-trayicons 0.0.2: upstream Makefile (diff) | |
download | stackrpms-0e36a26fb2bbde0eb2cda69bd2e6435903804285.tar.gz stackrpms-0e36a26fb2bbde0eb2cda69bd2e6435903804285.tar.bz2 stackrpms-0e36a26fb2bbde0eb2cda69bd2e6435903804285.zip |
Merge branch 'keyboard-leds-trayicons-bump' into 'master'
keyboard-leds-trayicons 0.0.2: upstream Makefile
See merge request bgstack15/stackrpms!142
Diffstat (limited to 'keyboard-leds-trayicons/debian/rules')
-rwxr-xr-x | keyboard-leds-trayicons/debian/rules | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/keyboard-leds-trayicons/debian/rules b/keyboard-leds-trayicons/debian/rules index 71c2727..55ac4b8 100755 --- a/keyboard-leds-trayicons/debian/rules +++ b/keyboard-leds-trayicons/debian/rules @@ -5,18 +5,22 @@ #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -export name=keyboard-leds-trayicons +export APPNAME=keyboard-leds-trayicons export debuilddir="debian" -export buildroot="${debuilddir}/${name}" +export buildroot="${debuilddir}/${APPNAME}" export _datadir="/usr/share" export _bindir="/usr/bin" export _indir="/usr/share/icons/hicolor/scalable/status" %: - dh $@ + dh $@ --sourcedirectory=src + +override_dh_auto_build: + dh_auto_build + sh debian/make-dsc-for-obs.sh override_dh_auto_install: - dh_auto_install + dh_auto_install -- prefix=/usr DEFAULTDIR='$$(DESTDIR)/etc/default' mkdir -p ${buildroot}${_datadir}/icons/hicolor/16x16/status mkdir -p ${buildroot}${_datadir}/icons/hicolor/32x32/status @@ -47,3 +51,8 @@ override_dh_auto_install: 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 + +override_dh_gencontrol: + printf "misc:Depends=" > debian/${APPNAME}.substvars + make -C src deplist DISTRO=devuan SEPARATOR=',' | grep -vE 'make\[[0-9]' >> debian/${APPNAME}.substvars + dh_gencontrol |