| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ |
| 7 |
|
| 8 |
override_dh_auto_configure: |
| 9 |
dh_auto_configure -- -DCMAKE_INSTALL_BINDIR=/usr/games/ -DCMAKE_INSTALL_DATADIR=/usr/share/games/ -DWITH_UPDATE_CHECK=no |
| 10 |
|
| 11 |
execute_after_dh_auto_install: |
| 12 |
rm -v debian/tmp/usr/share/games/corsix-th/LICENSE.txt |
| 13 |
|
| 14 |
for size in $$(identify ico:CorsixTH/CorsixTH.ico | awk '{print $$3}'); \ |
| 15 |
do \ |
| 16 |
mkdir -vp debian/corsix-th/usr/share/icons/hicolor/$$size/apps/ ; \ |
| 17 |
done |
| 18 |
convert -verbose ico:CorsixTH/CorsixTH.ico -set filename:size %wx%h \ |
| 19 |
debian/corsix-th/usr/share/icons/hicolor/%[filename:size]/apps/corsix-th.png |
| 20 |
|
| 21 |
execute_after_dh_auto_test: |
| 22 |
busted -C CorsixTH/Luatest --verbose |