1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- --with-datadir-name=\$${prefix}/share/games/warmux \
--bindir=\$${prefix}/games --enable-servers --enable-fribidi \
--with-font-path=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
override_dh_auto_install:
dh_auto_install
# these font files will be replaced with symlinks
rm debian/tmp/usr/share/games/warmux/font/VL-Gothic-Regular.ttf
rm debian/tmp/usr/share/games/warmux/font/wqy-microhei-lite.ttc
rm debian/tmp/usr/share/pixmaps/warmux_128x128.png
override_dh_install:
dh_install --list-missing
override_dh_compress:
dh_compress -X.pdf
override_dh_strip:
dh_strip --dbgsym-migration='warmux-dbg (<< 1:11.04.1+repack2-3~)'
repack:
rm -rf ./build
rm ./data/font/Ubuntu-R.ttf
|